Solar
2012-08-29 04:59:51
Hi, I've got this antiban procedure and so that I know when antiban has been called I want it to say in the debug box "Antiban called". I was just wondering if there was an easier way to do it than this;
Procedure AntiBan;
begin
case Random(100) of
0:
begin
WriteLn('AntiBan called');
HoverSkill('Magic', False);
GameTab(Tab_Magic)
end;
1:
begin
WriteLn('AntiBan called');
PickUpMouse;
end;
2:
begin
WriteLn('AntiBan called');
MakeCompass(RandomRange(20,60));
MakeCompass('N');
end;
3:
begin
WriteLn('AntiBan called');
ExamineInv;
end;
4:
begin
WriteLn('AntiBan called');
Wait(RandomRange(500, 2000));
end;
5:
begin
WriteLn('AntiBan called');
BoredHuman;
end;
6:
begin
WriteLn('AntiBan called');
ExamineInv;
end;
end;
end;