beefman
04-23-2015, 01:01 PM
Hi guys,
After a years break i'm back and thought i would create a runescape bot.
so, this is a pretty basic error but i'm wondering why i'm getting it. If someone could please explain i would be grateful.
Error: Found unexpected token "else", expected "End"
if SPS.walkPath(pathToOutsideBank) then
writeLn('Found path to bank');
minimap.waitPlayerMoving();
else
writeLn('We failed to walk to the bank');
end;
After a years break i'm back and thought i would create a runescape bot.
so, this is a pretty basic error but i'm wondering why i'm getting it. If someone could please explain i would be grateful.
Error: Found unexpected token "else", expected "End"
if SPS.walkPath(pathToOutsideBank) then
writeLn('Found path to bank');
minimap.waitPlayerMoving();
else
writeLn('We failed to walk to the bank');
end;