############## Installation ################ You can either add all your commands manualy to the skill.list file in /src/skill/files/ or you can copy your DECLARE_DO_FUN's from mud.h into a txt file called frommud.txt compile genskill.cpp and run genskill to generate the skill.list file from those DECLARE_DO_FUN code issue the command mv skill.list ./files/skill.list so that skill.list will be in the /src/skill/files/ directory Allright you should now have skill.list in the /src/skill/files directory now compile genlist.cpp that is in the /src/skill/files/src/ directory and run genlist this generates 2 files that skill.cpp needs to compile in the /src/skill/files/src/ directory compile skill.cpp and then compile combine.cpp now issue the command mv skill ../skill mv combine ../combine now in the /src/skill/files/ directory You should have a script called clean exe file skill exe file combine the skill.list file Now you can go into the /src/skill/ directory and run the script update This will create 3 files smud.h stab.h stab2.h and then it will copy the 3 files to your /src/ director now you need to include the files in the proper places see below this is a one time only step ### Add files to your mud code ### ok this step is simple open mud.h in mud.h you want to replace all the DECLARE_DO_FUN( do_cmdname ); with #include "smud.h" DECLARE_DO_FUN( skill_notfound ); Only delete the DECLARE_DO_FUN's that have to do with commands if the command isn't listed in the mud when you type command don't delete its DECLARE_DO_FUN tables.c Replace the entire DO_FUN *skill_function( char *name ) with the one below DO_FUN *skill_function( char *name ) { switch( name[3] ) { #include "stab2.h" } return skill_notfound; } Replace the entire char *skill_name( DO_FUN *skill ) with the one below char *skill_name( DO_FUN *skill ) { #include "stab.h" return "reserved"; } now if smud.h stab.h and stab2.h are in your /src/ directory compile the mud and everything will work fine ############ Adding a New Command ############## Aren't you glad you allread did the install ok now to add a new command this is so easy Add command name to skill.list run the script update in /src/skill/ then recompile your mud