tom99
11-30-2018, 05:16 PM
Here is my script it wont actually attack cows.
{$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,4676986 or 11783907 ,0,0,788,586,20)) then
begin
clickmouse(x,y,mouse_Right);
writeln('found cow');
wait(200+random(200));
clickmouse(x,y+29,Mouse_left);
end;
end;
begin
killcows;
end.
{$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,4676986 or 11783907 ,0,0,788,586,20)) then
begin
clickmouse(x,y,mouse_Right);
writeln('found cow');
wait(200+random(200));
clickmouse(x,y+29,Mouse_left);
end;
end;
begin
killcows;
end.