removeraces.c
ds2.10/lib/secure/cmds/admins/removeraces.c · 475 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
#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(string str) {
return ("Syntax: removeraces\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. ");
}