ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/cmds/adm/dump.c
// dump.c (should be admin cmd?)
inherit F_CLEAN_UP;
int main(object me,string arg)
{
seteuid(geteuid(this_player(1)));
dumpallobj();
return 1;
}
int help(object me)
{
write(@HELP
指令格式 : dump
dump the stats of all objects to a file in root dir
named OBJ_DUMP.
HELP
);
return 1;
}