I'm a little frustrated at what is probably a juvenile mistake. I'm getting "[Error] (1:1): period ('.') expected at line 0" in the following script I'm working on:
Simba Code:
program Picker;
{$i srl/srl/misc/smart.simba}
{$i srl/srl.simba}
{$i sps/sps.simba}
Var
myPath:TPointArray;
procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Set the number of players you are using
NumberOfPlayers(HowManyPlayers); // Don't touch
CurrentPlayer := 0; // This is the player to start with; the first player will always be 0
Players[0].Name := ''"; // Username
Players[0].Pass := '"'; // Password
Players[0].Active := True; // Set to true if you want to use Player 0
Players[0].Pin := ''; // Leave blank if the player doesn't have a bank pin
end;
procedure SetupLogin;
begin
Smart_Server := 9;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
LoginPlayer; // Logging in...
end;
begin
SetupSRL;
SetupLogin;
SPS_Setup(RUNESCAPE_SURFACE,['10_7','12_7','12_6','12_5','12_4','12_3','12_2','10_2','11_3','11_5','11_6','11_7']);
myPath := [Point(4851, 2967), Point(4917, 2940), Point(4963, 2906), Point(4962, 2850), Point(4990, 2796),
Point(5012, 2751), Point(5008, 2695), Point(5002, 2632), Point(4993, 2571)];
SPS_WalkPath(myPath);
end
Any help is appreciated