From 16a6d9ced9c7b3f06534df945985836b0bd97eb8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 12 May 2020 09:01:53 -0300 Subject: Servers with `debug` flag will also restart on their own every sunday at 03:00 --- npc/commands/super-menu.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'npc') 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; + } + -- cgit v1.2.3-60-g2f50