From 9048f068f81e1ceb453ddc74a6a824dfbe2b7292 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Mar 2021 10:13:33 -0300 Subject: Inform player their jail on botcheck requires manual GM intervention --- npc/functions/hub.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 2a8cc27ea..320ea197a 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -88,8 +88,10 @@ function script HUB_Logout { } // Logout on botcheck area if (compare(.@mapa$,"botcheck") && !.@dead) { - if (!is_staff()) + if (!is_staff()) { atcommand "@jail "+strcharinfo(0); + rodex_sendmail(getcharid(0), "TMW2 Team", "Error detected!", "Please contact GM Team, error code: BOTCHECK-AUTOJAILED"); + } } // Died on Terranite Cave where exp penalty is lower if (.@mapa$ == "015-6" && .@dead) { -- cgit v1.2.3-60-g2f50