KingVlad
05-06-2012, 03:46 PM
I have a few questions about the default script I just built.
This is what I currently have:
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
Procedure DeclarePlayer;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Pin := '';
Players[0].Nick := '';
Players[0].BoxRewards := ['oins'];
Players[0].Active := True;
end;
procedure Starting;
begin
ClickNorth;
end;
begin
ClearDebug;
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
ActivateClient;
DeclarePlayer;
if not LoggedIn then
begin
LoginPlayer;
end;
Starting;
end.
1. Do you need to have a Players[0].Nick := ''; or can I just erase that line?
2. For Players[0].BoxRewards := [] if I erase everything except oins from the brackets will it pick coins every time?
3. Smart_Server := 0; picks a random server right?
4. What do the following do?
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
5. Do I need to add Player[0].Member :=True; in order for it to know that I am a member or is that what Smart_Members := True; does?
6. Is there anything else I should add to my default starting script?
P.S. Sorry for posting in the wrong section. I just noticed that there's a Scripting Help section.
This is what I currently have:
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
Procedure DeclarePlayer;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Pin := '';
Players[0].Nick := '';
Players[0].BoxRewards := ['oins'];
Players[0].Active := True;
end;
procedure Starting;
begin
ClickNorth;
end;
begin
ClearDebug;
Smart_Server := 0;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
ActivateClient;
DeclarePlayer;
if not LoggedIn then
begin
LoginPlayer;
end;
Starting;
end.
1. Do you need to have a Players[0].Nick := ''; or can I just erase that line?
2. For Players[0].BoxRewards := [] if I erase everything except oins from the brackets will it pick coins every time?
3. Smart_Server := 0; picks a random server right?
4. What do the following do?
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
5. Do I need to add Player[0].Member :=True; in order for it to know that I am a member or is that what Smart_Members := True; does?
6. Is there anything else I should add to my default starting script?
P.S. Sorry for posting in the wrong section. I just noticed that there's a Scripting Help section.