Log in

View Full Version : Starting a script



Liamwitdre
05-22-2012, 05:40 PM
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
05-22-2012, 05:42 PM
At that line - you have to actually put your rs username...

tehq
05-22-2012, 05:43 PM
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
05-22-2012, 05:49 PM
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)

http://puu.sh/waMj

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

Liamwitdre
05-22-2012, 05:54 PM
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
05-22-2012, 05:58 PM
Look at what i posted earlier :)

:= 'name'; // add '

Liamwitdre
05-22-2012, 06:04 PM
Look at what i posted earlier :)

:= 'name'; // add '


I realise now, thankyou for you help kind sir

+rep