RsN
2006-03-14 07:18:12
This features into SRL wont be available for the public until SRL Beta 3 I assume, this is how it works.
We all know how in a script we have to use the
Well since Users.scar was released all we need to do is add
All the changes you make can be easily saved by using
Now if you want to change, delete or add users, the way is simple, just go onto Misc folder of SRL and open UsersManager.scar then hit run, you would find a great GUI for managing your users
No More DeclarePlayers!!!!! YAY!!!!!!!
<3 RsN
We all know how in a script we have to use the
Procedure DeclarePlayers;
begin
HowManyPlayers:=6;
NumberOfPlayers(HowManyPlayers); // set arraylength
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Loc :='Falador';
Players[0].Skill:='iron';
Players[0].Active:=True;
Players[1].Name :='';
Players[1].Pass :='';
Players[1].Nick :='';
Players[1].Loc :='Falador';
Players[1].Skill:='copper';
Players[1].Active:=False;
Players[2].Name :='';
Players[2].Pass :='';
Players[2].Nick :='';
Players[2].Loc :='Falador';
Players[2].Skill:='tin';
Players[2].Active:=True;
Players[3].Name :='';
Players[3].Pass :='';
Players[3].Nick :='';
Players[3].Loc :='Falador';
Players[3].Skill:='clay';
Players[3].Active:=True;
Players[4].Name :='';
Players[4].Pass :='';
Players[4].Nick :='';
Players[4].Loc :='Falador';
Players[4].Skill:='iron';
Players[4].Active:=True;
Players[5].Name :='';
Players[5].Pass :='';
Players[5].Nick :='';
Players[5].Loc :='Falador';
Players[5].Skill:='iron';
Players[5].Active:=False;
end;Well since Users.scar was released all we need to do is add
LoadUs;
Into the main loop, all players are stored in a file (Chars.srl) in the scar main directory and you dont have to alter that for every script.All the changes you make can be easily saved by using
SaveUs;
Now if you want to change, delete or add users, the way is simple, just go onto Misc folder of SRL and open UsersManager.scar then hit run, you would find a great GUI for managing your users
No More DeclarePlayers!!!!! YAY!!!!!!!
<3 RsN