program New;
var
x,y: integer;
begin
repeat
KeyDown(115); //The f4 key
sleep(65);
KeyUp(115);
sleep(65);
if(FindColor(x,y,ColorCode,0,0,1000,1000)) then //Replace ColorCode with the colorcode
//of a unique color found on your character
begin
MoveMouseSmoothEx(x,y+random(0),20,45,40,25,20); //Moves your mouse to the color
ClickMouse(x,y,true); //Clicks (left-click)
Wait(90000); //Your 90 second wait :)
end;
until(IsFKeyDown(8)); //Will continue looping until you press the F8 key
end.