From 8cdc57f0e9b77fe21634eb7e32c3934cd036730d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 6 May 2021 20:16:57 -0300 Subject: Add an auto-restart scheduler (external bash scripts) --- npc/011-3/flood.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/011-3') diff --git a/npc/011-3/flood.txt b/npc/011-3/flood.txt index 9bf9b2684..db9ac6888 100644 --- a/npc/011-3/flood.txt +++ b/npc/011-3/flood.txt @@ -31,6 +31,8 @@ OnMinute42: OnMinute46: OnMinute52: OnMinute56: + // Check if auto-restart was scheduled + SchedRestart(); OnSkipFlood: if ($@GM_OVERRIDE) debugmes "[Flood] Cycle begin"; .@fd=!(getmapmask("011-3")&MASK_SPECIAL); // .@fd - is flooded? -- cgit v1.2.3-70-g09d2