Well it finds and clicks the oak. But now it won't repeat?
SCAR Code:
procedure ChopOaks;
Begin
repeat
If FindObjMulti(Tree, Oak1, Oak2, Oak3, 5) Then
begin
Status('Getting Pos + Clicking');
GetMousePos(tx, ty);
Mouse(tx, ty, 10, 10, True);
Status('Clicked');
wait(8000);
end;
until(FindObjMulti(Tree, Oak1, Oak2, Oak3, 5));
end;
SCAR Code:
Begin
ActivateClient;
SetupSRL;
DeclareBMP;
ClearDebug;
repeat
ChopOaks;
until(FindObjEx(tx, ty, 'Oak logs', 683, 432, 730, 460, 3298414, 100, 1, 1, 500, False));
end.