Thank you
xraye: I don't know if you figured it out yet, but you misplaced the end:
SCAR Code:
procedure ChopWillow;
begin
if not LoggedIn then Exit;
FindRandoms;
if ( TreeToCut = 'Willow' ) Or ( TreeToCut = 'willow' ) then
begin
if FindObjCustom(x, y, ['Wil', 'low'], [3108448, 1986630], 5) then
begin
Wait(30 + Random(20));
Mouse(x, y, 3, 3, True);
Wait(7000 + Random(700));
end
else (THIS IS LINE 119)
begin // if it doesn't find the symbol (if it messes up)
Players[CurrentPlayer].Active := False; // Set your player to false!!
Players[CurrentPlayer].Loc := 'Walking to there';
LogOut; // Log him out!!
Exit; // Exit the procedure, so it wont continue!!
end;
end;
end;