diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-29 00:58:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-29 00:58:02 -0300 |
commit | 4b654ae965eacc92bafe042383ff380041e81d98 (patch) | |
tree | 845f1545fa9bce3bca008ffe68699c6bef6c29d1 /localserver/npc | |
parent | ce7bf374d87520c240fed158dbcdebdc6e3d0280 (diff) | |
download | tools-4b654ae965eacc92bafe042383ff380041e81d98.tar.gz tools-4b654ae965eacc92bafe042383ff380041e81d98.tar.bz2 tools-4b654ae965eacc92bafe042383ff380041e81d98.tar.xz tools-4b654ae965eacc92bafe042383ff380041e81d98.zip |
Implement @botcheck for public
Diffstat (limited to 'localserver/npc')
-rw-r--r-- | localserver/npc/botcheck_blackbox.txt | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/localserver/npc/botcheck_blackbox.txt b/localserver/npc/botcheck_blackbox.txt index b2edfe4..b11050e 100644 --- a/localserver/npc/botcheck_blackbox.txt +++ b/localserver/npc/botcheck_blackbox.txt @@ -4,5 +4,32 @@ // Description: // Bot check area configuration, measures, utilitaries, // and various configuration files to prevent bots. - // You must fill this file manually, or don't file it at all. + +botcheck,37,41,0 script Bot Master NPC_ELMO,{ + if (!is_staff()) + end; + mesc l("This file must be requested due not being public."), 1; + mesc l("Too many evil bots out there %%e They can't learn this!"), 1; + close; + +OnCall: + if (getmap() ~= "botcheck") { + if (@bck_map$ != "") + warp @bck_map$, @bck_x, @bck_y; + else + warp "Save", 0, 0; + dispbottom l("You passed the botcheck. Thanks for playing the game %%G"); + end; + } + getmapxy(@bck_map$, @bck_x, @bck_y, 0); + warp "botcheck", 38, 40; + dispbottom l("BOTCHECK: You are on botcheck area. DO NOT attack or collect items until given the order."); + end; + +OnInit: + bindatcmd "botcheck", "Bot Master::OnCall", 60, 60, 1; + end; + +} + |