summaryrefslogtreecommitdiff
path: root/npc/commands/super-menu.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r--npc/commands/super-menu.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 11a92711f..9dfe29a3a 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -68,4 +68,21 @@ OnCall:
OnInit:
bindatcmd "super", "@super::OnCall", 80, 99, 0;
//bindatcmd "numa", "@super::OnCall", 80, 99, 0; // alias for those used to TMW's @numa - none at the moment, iirc
+ end;
+
+// Servers with "debug" set are debug servers which must reset on their own
+OnSun0250:
+ if (debug) kamibroadcast("WARNING: Test Server will go down for scheduled maintenance in 10 minutes!");
+ end;
+OnSun0255:
+ if (debug) kamibroadcast("WARNING: Test Server will go down for scheduled maintenance in 5 minutes!");
+ end;
+OnSun0259:
+ if (debug) kamibroadcast("WARNING: Imminent Test Server restart!");
+ end;
+OnSun0300:
+ if (debug) atcommand("@serverexit 103");
+ end;
+
}
+