View Full Version : Pins
Gazrat
04-07-2008, 09:00 PM
On some of the scripts im using the code asks for a pin number. i dont have one so i left it at 0000 like it said to do if i dont have one. I target rs and hit run and it says there is an error on the pin number line. so i go into my bank and make a pin number then changed it in the script. I do the same thing and there is still an error. looks like this:
Type mismatch in script C:\documents and settings\tim\local settings\temporary internet files\content.IE5\KZA30P29\catherbysharksandlobbie s[1].1.scar
help plz.
Trollvete
04-07-2008, 09:03 PM
Pins were changed to strings, I believe, so put it in ' '.
Gazrat
04-07-2008, 09:05 PM
ok changed, and thanks. now i got a line 174 semicolon error. i dont know where to put it in
Runescapian321
04-07-2008, 09:13 PM
What script? Or just post lines 160-190.
Gazrat
04-07-2008, 09:14 PM
Procedure SaySomethingWeird;
var Root,P1,P2,P3: String;
Var C: Integer;
begin
Case Random(3) of
0:
begin
Root:= IntToStr(Players[CurrentPlayer].Integers[0]-UserStats[CurrentPlayer].Loads)
case Random(2) of
0: P1:= 'only ';
end;
Case Random(3) of
0: P2:= ' loads left'
1: P2:= ' full invs left' <----semi colon error?? O.o
2: P2:= ' loads to go'
end;
TypeSend(P1+Root+P2)
Writeln(Players[CurrentPlayer].Name+': "'+P1+Root+P2+'"')
end;
1:
begin
P1:= 'b'
for C:= 1+random(10) downto 0 do
begin
Root:= Root + 'o';
end;
case random(2) of
0: P2:= 'rin'
1: P2:= 'ring'
end;
Runescapian321
04-07-2008, 09:37 PM
Procedure SaySomethingWeird;
var Root,P1,P2,P3: String;
var C: Integer;
begin
Case Random(3) of
0:
begin
Root:=IntToStr(Players[CurrentPlayer].Integers[0]-UserStats[CurrentPlayer].Loads }
case Random(2) of
0: P1:= 'only ';
end;
Case Random(3) of
0: P2:= ' loads left'; //Add semiclolons after the strings (at the end of the line basically)
1: P2:= ' full invs left';
2: P2:= ' loads to go';
end;
TypeSend(P1+Root+P2)
Writeln(Players[CurrentPlayer].Name+': "'+P1+Root+P2+'"')
end;
1:
begin
P1:= 'b'
for C:= 1+random(10) downto 0 do
begin
Root:= Root + 'o';
end;
case random(2) of
0: P2:= 'rin';
1: P2:= 'ring';
end;
Should work now. There might be more semi-colons missing though, put them in if the rest of the script keeps giving you semi-colon errors.
EDIT: Wait a min...I'm getting an identifier error now, are you? Can't figure out how to fix it sorry :\
Gazrat
04-07-2008, 09:38 PM
ok ill try that, thanks.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.