Creating a new command

Posted by Edgeofforever on Fri 15 Oct 2004 04:14 AM — 3 posts, 13,433 views.

#0
I've written a new command to be used, added it to the Commands.dat file and placed the code in act_info.c. However, when I attempt to use the command, even though it shows up in my command list, all I get is "huh?" what is wrong?

Any help would be appriciated.
#1
Hmm... you added the 2 lines in tables.c and the declaration in mud.h for the command right? Also i've found that if you cedit the command in "cedit command create" it's alot more reliable incase you make a typo or something while editing commands.dat
#2
I rechecked and it was a typo. I'll used the cedit command from now on to initialized the commands. Thanks alot for the help!