RandomRClickEx ~ AntiBan.scar
Quite simple. Right clicks the mouse on a random area of the screen, then either chooses "Examine", or "Cancel".
SCAR Code:
{*******************************************************************************
procedure RandomRClickEx;
By: R1ch
Description: Performs random right, then examines or cancels.
*******************************************************************************}
procedure RandomRClickEx;
var
X, Y, MS : Integer;
begin
if not LoggedIn then Exit;
MS:= MouseSpeed;
MouseSpeed:= 8 + Random(5);
case Random(8) of
0, 4..7 : MouseBox(MSX1, MSY1, MSX2, MSY2, 2);
1 : MouseBox(MIX1, MIY1, MIX2, MIY2, 2);
2 : MouseBox(MCX1, MCY1, MCX2, MCY2, 2);
3 : MouseBox(MMX1, MMY1, MMX2, MMY2, 2);
end;
Wait(Random(1500) + (Random(750)));
repeat
if OptionExist('xamine', False) then
begin
ChooseOption('xamine');
Break;
end else
ChooseOption('ancel');
until(True);
MouseSpeed:= MS;
end;
Richard
EDIT: Changed it so that if there is Examine, it will click it, and if there is not, it will Cancel.