Craselin Posted May 16, 2011 Author Share Posted May 16, 2011 Hey everyone,I just wanted to know what the basic procedure would be for using a command that does something to a player. e.g. /spritechange bill.Could someone please show me but instead of having the code that executed just have "_code here_".Thanks in advance,Craselin Link to comment Share on other sites More sharing options...
Craselin Posted May 17, 2011 Author Share Posted May 17, 2011 BUMP Link to comment Share on other sites More sharing options...
Repercussionist Posted May 18, 2011 Share Posted May 18, 2011 Look in modInput at how the other /commands are dealt with, specifically ones with a command and a value (/ban, /kick, etc) since that's what you're wanting. Set up a case for /spritechange, do the access and value validation checks, and, if everything works out, call the code to be executed. Link to comment Share on other sites More sharing options...
Craselin Posted May 18, 2011 Author Share Posted May 18, 2011 thanks very much for the info, i will look into it and tell you how it goes.:cheesy: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now