program ColorClicker;
/////////////////////////////////////////////////////////////////////
///////////////////////////SETUP/////////////////////////////////////
const /////
/////
Color = 16777215; ////// color of the object to click on /////
/////
/////
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
procedure click;
var t,b: Integer;
begin
Wait(1000+random(500));
if(FindColor(t,b,Color,0,0,2000,2000)) then
begin
MoveMouseSmooth(t,b +random(4));
ClickMouse(t,b,true);
end;
end;
begin
repeat
click;
until(false)
end.