SRL Archive - S.M.A.R.T.

error plz help


miller536

2012-11-07 23:24:17

.
[Error] C:\Simba\Scripts\ads.simba(65:1): Identifier expected at line 64

error line
Function Loc(Location: string): Boolean;

more lines around it

ChooseWorld:= 87; //select the world you want the script to run on

WorldHop := [10, 11, 13, 14]; //select the worlds you want the script to hop to if a low amount of shields are collected


Function Loc(Location: string): Boolean;

begin

Result := Players[CurrentPlayer].Loc = Lowercase(Location);

end;

Rezozo

2012-11-07 23:31:21

Bold line 65. Need to see.
Edit: Check your begin ends!

miller536

2012-11-07 23:36:32

ok did it

Rezozo

2012-11-07 23:48:45

Kewl! Was I any help? Or was I totally off? :p

miller536

2012-11-07 23:50:29

yea idk not working idk where to put the end and begins