Code:
var
x,y: Integer;
const
rock1 =11051634;
rock2 =11248499;
rock3 =10656622;
bank1 =7039596;
bank2 =7236719;
bank3 =9276561;
{randomsand1 =6991033;
randomsand2 =5149353;
randomsand3 =3173769; }
begin
repeat
if (FindColorSpiral(x,y,rock1,361,210,473,341))
or (FindColorSpiral(x,y,rock2,193,139,559,430))
or (FindColorSpiral(x,y,rock3,4,27,761,608)) then
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(500);
ClickMouse(x,y,true);
wait(70000);
if (FindColorSpiral(x,y,bank1,361,210,473,341))
or (FindColorSpiral(x,y,bank2,193,139,559,430))
or (FindColorSpiral(x,y,bank3,4,27,761,608)) then
MoveMouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(500);
ClickMouse(x,y,true);
wait(500);
movemousesmooth(585, 227)
wait(500)
clickmouse(585, 227, false)
wait(500)
movemousesmooth(597, 302)
wait(500)
clickmouse(597, 302, true)
wait(500)
movemousesmooth(465, 41)
wait(500)
clickmouse(465, 41, true)
wait(500)
else
movemousesmooth(413, 58)
wait(500)
clickmouse(413, 58, true)
wait(10000)
until(false);
end.
But when i compile i get this message, and ive checked through time and time again and i just can't see whats wrong with it.