summaryrefslogtreecommitdiff
path: root/npc/001-8/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-01 03:50:40 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-01 03:50:40 -0200
commit5cfb33e05ccc4f5b907965755125b80c4a5c2aa6 (patch)
tree78b735771c0236b9d922de5a41d192f6e72a90db /npc/001-8/hub.txt
parent11baec48375343ca87de3ee8c22cb0031cb0f649 (diff)
downloadserverdata-5cfb33e05ccc4f5b907965755125b80c4a5c2aa6.tar.gz
serverdata-5cfb33e05ccc4f5b907965755125b80c4a5c2aa6.tar.bz2
serverdata-5cfb33e05ccc4f5b907965755125b80c4a5c2aa6.tar.xz
serverdata-5cfb33e05ccc4f5b907965755125b80c4a5c2aa6.zip
Logout on botcheck area = ban
Diffstat (limited to 'npc/001-8/hub.txt')
-rw-r--r--npc/001-8/hub.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index 4cd016ed7..3bb810690 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -411,6 +411,10 @@ OnPCLogoutEvent:
setq2 ShipQuests_Peter, 0;
setq3 ShipQuests_Peter, -1;
}
+ // Logout on botcheck area
+ if (.@mapa$ ~= "botcheck" && !@qhub_died) {
+ atcommand "@jail "+strcharinfo(0);
+ }
@qhub_victor=0;
@qhub_died=0;