Hello, this is my first post, I am fairly new and am trying to learn how to script. (Don't like beeing a leecher)
I looked at some other scripts and came up with this, that should add multiplayer. The players are decared in a procedure "declareplayers".
The problem is, it dosen't work, it logs in as the first player, waits, and logs him off, then starts the runescape guide procedure.
The Writeln dosen't appear until after the player is logged back out, so for some reson the loginplayer function isn't working.
There is no output from the loginplayer function.
Can anyone help me with this?
(this is my first attempt at editing a script and I probably made a foolish mistake)Code:begin
ClearDebug;
ClearReport;
SetupSRL;
DeclarePlayers;
ActivateClient;
BenMouse := False;
MouseSpeed := 13;
LoadBmps;
Nielsie95;
repeat
LoginPlayer;
Writeln('Player: '+IntToStr (currentplayer)+' Name: '+Players[currentplayer].Name);
RuneScapeGuide;
SurvivalExpert;
MasterChef;
QuestGuide;
MiningInstructor;
CombatInstructor;
Bank;
FinancialAdvisor;
BrotherBrace;
MagicInstructor;
logout;
wait(1000);
Players[currentplayer].Active:=false;
CurrentPlayer := currentplayer+1;
until(currentplayer>howmanyplayers-1);
end.
And great script, btw.

