Expected '('

Started by Basse_Berlin, Wed 11/02/2009 17:42:46

Previous topic - Next topic

Basse_Berlin

Just started scripting a small game. In a large chunck of contitions the message board tells me it's an error.

GlobalScript.asc(181): Error (line 181): expected '('

I've tried to go through my script looking for a missing (, but i can't find one. And certainly not on line 181 wich looks like this:

  if else (player.ActiveInventory==iLysstring)

How can i sole this? What shall i be looking for in the script?

Thanks on beforehand.

DoorKnobHandle

"if else" doesn't exist, did you mean "else if"?

Matti

Yeah, the script is looking for a bracket after the "if"...

Basse_Berlin

Yeah, that's what i meant. It seemed to do the trick too. Thanx alot!

SMF spam blocked by CleanTalk