beefman
2014-06-14 12:47:36
Hey guys,
I've just started to create my own woodcutting script and i keep getting this error. I'm trying to get the minimap to move when isMouserovertext = False. I'll post code It's probably a VERY basic error. Could someone please correct it for me.. an unexpected until but i don't understand why it's incorrect
Here's the error: Exception in Script: Found unexpected token "until", expected "End" at line 70, column 5
I've just started to create my own woodcutting script and i keep getting this error. I'm trying to get the minimap to move when isMouserovertext = False. I'll post code It's probably a VERY basic error. Could someone please correct it for me.. an unexpected until but i don't understand why it's incorrect
Here's the error: Exception in Script: Found unexpected token "until", expected "End" at line 70, column 5
begin
repeat
if isMouseOverText = False then
begin
case random(10) of
0: minimap.setAngle(MM_DIRECTION_NORTH);
1: minimap.setAngle(MM_DIRECTION_EAST);
2: minimap.setAngle(MM_DIRECTION_SOUTH);
3: minimap.setAngle(MM_DIRECTION_WEST);
end;
chopTree();
until tabBackpack.isFull();
end;
end.