SCAR Code:
{*******************************************************************************
procedure ClickWait(x, y, rx, ry, time, rtime: integer; left: boolean);
By: akwardsaw
Description:what it does is holds down the button(left or right) for the specified time. to act like your either to lazy to pick your finger up or your about to drag something but change your mind
*******************************************************************************}
procedure ClickWait(x, y, rx, ry, time, rtime: integer; left: boolean);
var a, b: integer;
begin
mmouse(x, y, rx, ry);
getmousepos(a, b);
holdmouse(a, b, left);
wait(time + random(rtime));
releasemouse(a, b, left);
end;
{*******************************************************************************
procedure ClickMistake(x, y, rx, ry: integer; left: boolean);
By: akwardsaw, took some stuff from the mouse procedure
Description:it "accidentally" clicks the wrong mouse button, and corrects itself
*******************************************************************************}
procedure ClickMistake(x, y, rx, ry: integer; left: boolean);
var
a, b, c: Integer;
begin
MMouse(x, y, rx, ry);
Wait(60 + Random(30));
GetMousePos(b, c);
if left then
begin
mouse(b, c, 0, 0, false)
for C := 0 to 3 do
Wait(20 + Random(30));
mmouse(b, c, (25 + random(5)), (25 + random(5)));
mouse(b, c, 0, 0, left);
end else
begin
mouse(b, c, 0, 0, true);
wait(10 + random(50));
mouse(b, c, 0, 0, left);
end;
end;
{*******************************************************************************
procedure ChangeMindMMouse(x, y, rx, ry, time, rtime: integer);
By: akwardsaw
Description: it moves the mouse, but changes its mind and moves back to around its original spot
*******************************************************************************}
procedure ChangeMindMMouse(x, y, rx, ry, time, rtime: integer);
var a, b: integer;
begin
getmousepos(a, b);
mmouse(x, y, rx, ry);
wait(time + random(rtime));
mmouse(a, b, 10, 10);
end;