summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-22 10:13:33 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-22 10:13:33 -0300
commit9048f068f81e1ceb453ddc74a6a824dfbe2b7292 (patch)
treed0fa31030952baa46bc3dd67483dfc0312b5d9db /npc/functions/hub.txt
parentec038845283f7c2434b6decbd57d5141bfc14c20 (diff)
downloadserverdata-9048f068f81e1ceb453ddc74a6a824dfbe2b7292.tar.gz
serverdata-9048f068f81e1ceb453ddc74a6a824dfbe2b7292.tar.bz2
serverdata-9048f068f81e1ceb453ddc74a6a824dfbe2b7292.tar.xz
serverdata-9048f068f81e1ceb453ddc74a6a824dfbe2b7292.zip
Inform player their jail on botcheck requires manual GM intervention
Diffstat (limited to 'npc/functions/hub.txt')
-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) {