begin //Main Loop
Setup;
repeat
repeat
if not (loggedin) then break;
MakeCompass('N')
HighestAngle;
repeat
if not (loggedin) then break;
AntiRandoms;
Flag; //Umm... idk what it does... just have seen it a lot in other scripts...
Proggy; //PRINTS PROGGY TO DEBUG WINDOW
NextPlayer(True)
until (False)
end.
You forgot to add two more "until"s but you really don't need the two repeats at the top so I just got rid of one for you. Also I don't suggest using until(false) where I put it, build in a failsafe of some sort so it doesn't loop forever.
begin //Main Loop
Setup;
repeat{<-------1}
if not (loggedin) then break;
MakeCompass('N')
HighestAngle;
repeat{<-------2}
if not (loggedin) then break;
AntiRandoms;
Flag; //Umm... idk what it does... just have seen it a lot in other scripts...
Proggy; //PRINTS PROGGY TO DEBUG WINDOW
until(false); {<-------2}
NextPlayer(True)
until (False){<-------1}
end.
Also "Flag" makes the script wait until it doesn't see a flag on the mini map.