Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

/Command help.


Craselin
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...