Quick tutorial how to add commands.

Quick tutorial how to add commands.

Postby lucasds12 » 22 May 2013, 21:38

Hello, I am going to list a tutorial how to make a command in your server.

Let's get going here :x

1. First of all, you need to do /cmdcreate [command]

2. Let's just say my command is love.
You need to look for the (command).cs and it most likely runs on notepad.

3. Here is the command making part, you need to code the command for it.
It looks complicated but, there is many coders in this forums and I will list them.
ProCoders: _Ultima_,HelloWorldCool,ismellike,Conor,dzienny and much more!
Once your done coding you must save the code and command it's self.

4. If I am right (I hope I am) you have to put the command in the dll_ folder.

5. You need to compile the command by doing /compile [command]
Example: /compile love

6. Before you load the command, this is optional but, put your command in the "cmdautoload" file so it can auto load.
If you don't do that, you have to repeatly load it and the command to load the command is /cmdload [command]

Optional Options Below!

You can put the command in the "cmdautoload" file for it to auto load it's self so you don't have to load it with /cmdload always when you shutdown your server.

Hope this topic helps for people that don't know how to make commands.
I hope you enjoyed reading this tutorial!

Get ready for more tutorials soon :p
There is only one thing I do in life, that's contributing here.
lucasds12
 
Posts: 334
Joined: 17 Apr 2013, 16:17
Location: In the deep caves.

Return to How-To

Who is online

Users browsing this forum: No registered users and 3 guests

cron