/* reboot.c
Copyright (C) 1994-2000 Annihilator
This program is a part of ES2 mudlib. Permission is granted to use,
modify, copy or distribute this program provided this copyright notice
remains intact and subject to the restriction that this program MAY
NOT be used in any way for monetary gain.
Details of terms and conditions is available in the Copyright.ES2 file.
If you don't receive this file along with this program, write to the
primary author of ES2 mudlib: Annihilator
*/
#include
#include
#include
inherit F_CLEAN_UP;
int
main(object me, string arg)
{
string wiz_status;
object npc;
SECURED_ARCH_COMMAND;
seteuid(getuid());
npc = new(NPC_DEMOGORGON);
npc->move(START_ROOM);
npc->start_shutdown();
write("Ok。\n");
return 1;
}
int help (object me)
{
write(@HELP
指令格式: reboot
重新起動遊戲, 系統會開始倒數計時, 十五分鐘後重新起動。
HELP
);
return 1;
}