C
ciffer
Guest
Hi. I am new user of SCAR but i readed tutorials and I think i know how to use it.
So I wanted to write Dofus script for auto barley farming. I made this script:
So I wanted to write Dofus script for auto barley farming. I made this script:
It is starting to work but i think it dont write the var x and y so it cant click in the place where i want to. Please help me and if you can suggest me any improvements i would be very happy ;]program New;
var
x, y, z: integer;
Procedure Kolor;
begin;
z:=100+random(100);
if FindColor(x, y, 2974, 6, 44, 1270, 778) then;
begin;
MoveMouseSmooth(x, y);
wait(z);
clickmouse(x,y,true);
ClickMouse(x+20, y-20, true);
wait(10400);
end;
end;
begin;
repeat;
wait(1000);
Kolor;
until(false);
end.


