mud/lib/secure/cmds/admins/removeraces.c
2020-09-06 05:43:07 -07:00

20 lines
466 B
C

#include <lib.h>
#include <daemons.h>
inherit LIB_DAEMON;
mixed cmd(string args) {
foreach(string str in RACES_D->GetRaces()){
RACES_D->RemoveRace(str);
}
write("Done.");
return 1;
}
string GetHelp(){
return ("Syntax: removeraces\n\n"
"Gets rid of ALL races known by the race daemon. "
"Unless you want to be very sad later, you should "
"add your races with the addraces command immediately. ");
}