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

26 lines
631 B
C

/* /secure/cmds/admins/removeclass.c
* from the NIghtmare V Object Library
* removes classes
* created by Descartes of Borg 960528
* Version: %I%
* Last Modified: %D%
*/
#include <lib.h>
#include <daemons.h>
inherit LIB_DAEMON;
mixed cmd(string args) {
if( !args || args == "" ) return "Syntax: <removeclass CLASS>";
CLASSES_D->RemoveClass(args);
previous_object()->eventPrint("Class removed.");
return 1;
}
string GetHelp(){
return ("Syntax: removeclass <CLASS>\n\n"
"Removes a class from the game.\n"
"See also: addclass, addemote, addrace, removerace");
}