Your standards are off, here are correct ones:
SCAR Code:
function TniffocFindCow: boolean;
//Tol:= 30
//Hmod:= .1
//Smod:= .14
var
CTS,i,ATPAHigh: Integer;
TPA: TPointArray;
ATPA: T2DPointArray;
foundCow: Boolean;
begin
CTS:= GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.1, 0.14);
FindColorsSpiralTolerance(x,y,TPA,9344154, MSX1,MSY1,MSX2,MSY2,30);
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2,0.2);
if(Length(TPA) > 0)then
begin
ATPA:= SplitTPAEx(TPA,10,10);
ATPAHigh:= High(ATPA);
for i:=0 to ATPAHigh do
If MiddleTPAEx(ATPA[i],x,y) then
begin
MMouse(x, y, 2, 2); // This ONE!
Wait(RandomRange(100, 150));
if(IsUpText('ow'))then
begin
GetMousePos(x,y);
Mouse(x,y,0,0,true);
Result:= true;
Writeln('Found a Cow!');
Exit;
end;
end;
Writeln('Didn''t find a cow with the cow colors!');
end;
Btw, watch for the dairy cows
.