Cant seem to figure out how to search for colors or click in smart.
here is my script
HTML Code:
{$DEFINE SMART} // comment this line out if you don't want to use SMART
{$i srl-6/srl.simba}

var
x,y:integer;
x1,y1,x2,y2:integer;
begin
//clearDebug();
//setupSRL();
end.


procedure killcows;
begin
writeln('start');
if(FindColorTolerance (x,y,5138049,0,0,788,586,200)) then
begin
clickmouse(x,y,mouse_left);
writeln('found cow');

wait(200+random(200));
end;
      end;
      begin
      killcows;
      end.
wont attack cows now it wont even writeln anymore.