Whenever i run my script on the rs window... the scar window always crashes and i cant get back into so i have to do ctr+alt+del and click delete there
can u tell me a solution?
Heres my script
program PowerWoodCutter;
{.include SRL/SRL.scar}
var
x,y: Integer;
i: Integer;
const
TreeColor=1922123;
Procedure Chop;
begin
SetupSRL
If(FindColor(x,y,TreeColor,117,179,889,709)) then
begin
MoveMouse(374,366); //Moveing mouse to the tree
Wait(500+random(1000));
ClickMouse(374,366,true); //Clicks the tree
TypeSend('Boring!!!');
Wait(10000+random(20000));//waits 10-20 seconds
end;
begin
i:= 0
Repeat
i:= i + 1;
Chop;
MMouse(790,150)
MMouse(723,170)
MMouse(793,331)
MMouse(822,338)
if InvFull = true then
DropItems(2,28)
false = Chop;
Until(i >= 50);
end.


Reply With Quote




