SCAR Code:
program New;
{.include SRL/SRL.scar}
var x,y,xs,ys,xe,ye: Integer;
const
tol = 15; //how much tolerance do you want? Raise if it's not finding the color
begin
SetupSRL;
repeat
if (FindColorTolerance(x,y,8355721,xs,ys,xe,ye,tol)) then
begin
mouse(x,y,0,0,true);
end;
if (FindColorTolerance(x,y,9013908,xs,ys,xe,ye,tol)) then
begin
mouse(x,y,0,0,true);
end;
if (FindColorTolerance(x,y,8092805,xs,ys,xe,ye,tol)) then
begin
mouse(x,y,0,0,true);
end;
if (FindColorTolerance(x,y,7829633,xs,ys,xe,ye,tol)) then
begin
mouse(x,y,0,0,true);
end;
until(false);
end.