From 9b6ed08a927644777b50bb4e6496b811566a48cb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Jun 2019 09:34:52 -0300 Subject: Double check gmbot and make a runtime error. --- npc/functions/gmbot.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/functions/gmbot.txt') diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index eca1ad388..759860f94 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -124,6 +124,9 @@ OnTimer90000: .@y = rand(20, 300); .@e+=1; } while (!checknpccell(.mp$, .@x, .@y, cell_chkpass)); + if (!checknpccell(.mp$, .@x, .@y, cell_chkpass)) { + Exception("gm.bot runtime error: GM_ERR_128 highlight @Jesusalva", RB_DEBUGMES|RB_IRCBROADCAST); .mp$="boss"; .@x=45; .@y=45; + } unitwarp($@MK, .mp$, .@x, .@y); sleep(50); // For some reason or other, adding sleep(norid) and sleep2(rid). .nearby=getusers(8); -- cgit v1.2.3-60-g2f50