SCAR Code:
var
x, y, TimesToWait : Integer;
begin
if findcolorspiral( x, y, {yewcolor}, x1, y1, x2, y2)then
begin
mousespeed := randomrange(9,15)
mouse( x, y, 10, 10, true)
end else //Replaces the 'in not..' so if FindColorSpiral() then DoThis; else DoThat;
begin
repeat
Inc(TimesToWait); //Adds +1 to the Value held by TimesToWait.
Wait(100);
until(TimesToWait > 10) or (FindColor(FILL THIS OUT)); //Will Continue Waiting Until TimesToWait has a greater value then '10' or you find your color.
end;
end;