A basic script has a basic declareplayers, which is where the users sets or declares the players options..
SCAR Code:
Const
world = 37;
YourSRLID = ''; //Your SRL User ID
YourSRLPass = ''; //Your SRL User Pass
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
CurrentPlayer := 0;
NumberOfPlayers(HowManyPlayers); // set arraylength
Players[0].Name :='';
Players[0].Pass :='';
players[0].Nick :='';
Players[0].Pin := '0000'; // Your Pin for character.
Players[0].Active:=True;
{Players[1].Name :='';
Players[1].Pass :='';
Players[1].Nick :='';
Players[1].Pin := '0000'; // Your Pin for character.
Players[1].Active:=True;}
{Players[2].Name :='';
Players[2].Pass :='';
Players[2].Nick :='';
Players[2].Pin := '0000'; // Your Pin for character.
Players[2].Active:=True;}
{Players[3].Name :='';
Players[3].Pass :='';
Players[3].Nick :='';
Players[3].Pin := '0000'; // Your Pin for character.
Players[3].Active:=True;}
end;
Here is something from one of my scripts, the declareplayers procedure,
.
The name is the username of the player...
The pass is the password of the player...
The nick is the nickname of the player... -this is 3-4 characters of the name for example if i have the name 'Child' the nick would be hil/ild..
The pin number may be used in ceratin banking scripts, this is basically the pin number, if your character doesn't have a pin number than just put '0000'
Active : True is whether the players will be used in the script, True = use n script, False = not use in script.
up in the Const, there may be additional settings, such as: -world, -srl id, -srl pass
The world is the world number-*YOU NEED SMART*-
SRL id is not ur username, it is the id for SRL Statistics
the pass is merely the pass for SRL stats id....
That was just my basic explanation of declareplayers.
Tips: -To run a script hit the play button or CTRL+ALT+R
-To pause a script hit the pause button or CTRL+ALT+A
-To stop a script hit the stop button or CTRL+ALT+S
HINT-*YOU NEED SUBVERSION FOR SCRIPTS TO WORK*
Happy Autoing!