SRL Archive - Help

Starting a script


Liamwitdre

2012-05-22 13:40:21

Ok so im having trouble starting w100 shantay bonfires script, it keeps on notifying me that there is an unkown identifier on line 40 (which is my username for runescape):

[Error] (41:22): Unknown identifier '(my rs name is here)' at line 40
Compiling failed.

this is the script: http://villavu.com/forum/showthread.php?t=82691

I'm new here so go easy on me :)

Abu

2012-05-22 13:42:48

At that line - you have to actually put your rs username…

tehq

2012-05-22 13:43:19

You have it like this, yes?

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'name'; //this
Players[0].Pass := '';
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;

Liamwitdre

2012-05-22 13:49:05

From: tehq
You have it like this, yes?

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'name'; //this
Players[0].Pass := '';
Players[0].Active := True;
Players[0].Pin := '';
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;


I have it like this (blocked out my username and pass for obvious reasons)


tehq

2012-05-22 13:50:57

From what i can see you are missing the 's (simply, the letters are not blue). It's a string :)

Liamwitdre

2012-05-22 13:54:12

From: tehq
From what i can see you are missing the 's (simply, the letters are not blue). It's a string :)


what can I do to resolve the issue?

tehq

2012-05-22 13:58:31

Look at what i posted earlier :)

 := 'name';  // add '

Liamwitdre

2012-05-22 14:04:14

From: tehq
Look at what i posted earlier :)

 := 'name';  // add '


I realise now, thankyou for you help kind sir

+rep