Wire
2014-06-19 22:17:48
How do i call upon a procedure within another procedure? For example i want the antiban case procedure to be called upon while running R_Walkpath.
And the AntiBan, is this sufficient, decent, or simply bad?
begin
WriteLn('Found planks returning to Bank');
R_WalkPath([Point(3302, 3483), Point(3297, 3475), Point(3294, 3466), Point(3287, 3456), Point(3286, 3446), Point(3284, 3434), Point(3278, 3429), Point(3268, 3428), Point(3255, 3428), Point(3254, 3422), Point(3254, 3420)]);
end elseAnd the AntiBan, is this sufficient, decent, or simply bad?
procedure AntiBan;
begin
case random(2000) of
1..180: PickUpMouse;
200..380: BoredHuman;
400..680: MMouseOffClient('bottom');
700..980: MMouseOffClient('right');
1000..1049: MMouseOffClient('top');
1050..1099: MMouseOffClient('left');
1100..1300: RandomMovement;
1350..1500: SmallRandomMouse;
1501..1600: HoverSkill(skill_strength, false);
1601..1700: RandomAngle(1);
1701..1800: HoverOnlineFriend;
1801..1900: Wait(RandomRange(400, 1000));
1901..1949: RandomFKeys;
1950..2000: SmallRandomMouse;
end;
end;