summaryrefslogblamecommitdiff
path: root/localserver/npc/botcheck_blackbox.txt
blob: b11050efc07c03dd0e79e7197cde90fc170f64f8 (plain) (tree)
1
2
3
4
5
6
7





                                                         
                                                             



























                                                                                                              
// TMW2 Script
// Author:
//   Jesusalva
// 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;

}