summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt4
1 files changed, 3 insertions, 1 deletions
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) {