Simba Code:
begin
SetUpSRL;
Smart_ForceNew := true;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat // goes into a cycle
if not Loggedin then LoginPlayer; // Making sure we're logged in
ChopTree;
until(false) // Until(false) means it will repeat infinite, until you stop the script.
end.
Simba Code:
begin
SetUpSRL;
Smart_ForceNew := true;
ActivateClient;
DeclarePlayers;
LoginPlayer;
repeat
if not Loggedin then LoginPlayer;
ChopTree;
Inc(Loads) // Inc adds 1 to loads done
until(LoadsDoing =< Loads) //If Loads is equal or more than LoadsDoing it will break out of the loop and continue with the mainloop.
TerminateScript; // Terminates the script after the loop.
end.