N
Noob xp1
Guest
Can someone fix this script I tried to make one but it didn't work.
Thx.
Program FirstScript;
{.include SRL/SRL.scar}
const
Waitt= 10000;// The cutting time.
var
x,y:integer;
l,lo:integer;
procedure chop;
begin
if FindColorSpiralTolerance(x,y,994343,52,26,468,260, 3) then
Mouse(x,y,2,2,true)
l:=l+1
wait(waitt + random(10))
end;
procedure drop;
begin
invfull;
if invfull then
begin
Droptoposition(2,28)
l:=0
end;
end;
begin
SetupSRL;
comp;
repeat
lo:= lo+1
wait(10 + random(1))
chop;
wait(10 + random(1))
drop;
until(false)
end.
Thx.
Program FirstScript;
{.include SRL/SRL.scar}
const
Waitt= 10000;// The cutting time.
var
x,y:integer;
l,lo:integer;
procedure chop;
begin
if FindColorSpiralTolerance(x,y,994343,52,26,468,260, 3) then
Mouse(x,y,2,2,true)
l:=l+1
wait(waitt + random(10))
end;
procedure drop;
begin
invfull;
if invfull then
begin
Droptoposition(2,28)
l:=0
end;
end;
begin
SetupSRL;
comp;
repeat
lo:= lo+1
wait(10 + random(1))
chop;
wait(10 + random(1))
drop;
until(false)
end.






