FindUnderneath add:Code:else if (strcmp(command, "ann")==0) // *** SEND A ANNUNCEMENT *** { if(Config.Command_Ann > thisclient->PlayerSession->accesslevel) return true; Log( MSG_GMACTION, " %s : /ann %s" , thisclient->PlayerInfo->charname, &P->Buffer[5] ); return pakGMAnn(thisclient, P); }
Add rules by adding a newCode:else if(strcmp(command, "rules")==0) // Rules Command by Matt { SendPM(thisclient, "Please follow the following rules to ensure you have a fun time on this server!"); SendPM(thisclient, "Rule 1: No hacking"); SendPM(thisclient, "Rule 2: Do not abuse any bugs in the game"); SendPM(thisclient, "Rule 3: Be respectful to all players and GMs"); SendPM(thisclient, "Rule 4: Do not beg for items"); SendPM(thisclient, "Rule 5: Do not harass any players or GM's"); SendPM(thisclient, "Rule 6: Do not abuse any bugs in the game"); }
SendPM(thisclient, "Rule #: blah blah");
Tested and Works!



Reply With Quote![[RELEASE] /Rules comand.](http://ragezone.com/hyper728.png)

