1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// 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;
}
|