Helly synster, welcome to the privateserver section. I am Emme, and you could PM me or add my MSN if you got any realistic questions and can speak proper english.
How to add a command:
Its locil, really. You know how to use the search funcion in your source ? Ctrl+F. Now, in there, type in a command, for example /level. There you go, now you are at the command area. Use the other commands as refferences, from there create your own.
Same with NPCs. If you want to edit them, search for a npcchat and edit it, or search for the NpcID.
For making new NPCs, you , again, search for a npc chat / id, and make a completely new. Down here I will post an example of a command, so you understand how to make commands.
Quote:
if (Splitter[0] == "/test") // Okay, this line checks if the first thing you write, is "/test".
{ // Remember, if you put 3 { , you HAVE to put 3 }. Now its used to keep progressing the code.
Console.WriteLine("Worked just fine."); // Now, if the first sentence you wrote was /test, "Worked just fine." will appear in the console.
} // And we end with a } ofcourse.
|
Emme