
Originally Posted by
nero_dante
I tried that lol, still gives this error
'Error: Found unexpected token "else", expected "End" at line 37
Compiling failed.'
Simba Code:
procedure WalkLogBeam();
var
logBeam: Tbox;
begin
LogBeam := intTobox(286, 50, 293, 180);
mouseBox(LogBeam, MOUSE_MOVE);
if isMouseOverText(['alk Log Bea']) then //<--- Add the '[]', because it needs an array.
fastClick(MOUSE_LEFT) //Here was the ';', remove this <------------
else begin
wait(500);
writeLn('Can not find Looking again');
terminateScript();
end;
WriteLn('Walking over LogBeam');
wait(gaussRangeInt(5600,5800));
end;
If you change the above, it should work.