Problem fixed thnx
Printable View
Problem fixed thnx
You are missing one End;PHP Code:begin
SetUpSRL;
SetTimeOut(progress * 60,'ProgressReport');
DeclarePlayers;
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
activateclient;
If Not(loggedin) Then
LoginPlayer;
If (LoggedIn) Then
Begin
Repeat
Repeat
cuttree;
until(Invfull)
dropit;
ProgressReport;
Until(TreesToCut >= TreesCut)
if (TreesToCut >= TreesCut) Then
Begin
ProgressReport;
Writeln('Logging on to next player...')
Logout;
NextPlayer(False);
End; //This.
end;
End.
Good job! Just one suggestion. Don't forget to bring Name a PW out of the script before you post it ;).