Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Weird Syntax error

Rune Quinnell
Registered User
Join date: 25 Aug 2007
Posts: 28
09-23-2007 21:44
Hi I keep getting a weird syntax error when enterinh a single command like - collision, or changed, into an existing script.

No problem when that is all the script does, but I've checked and double checked my open/close parans and I can' figure out what is causing the syntax error.

Any ideas?
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
09-23-2007 22:28
First guess, without seeing some sample code, is that you're attempting to put one event handler (not "command";) inside another.
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
09-23-2007 23:23
second guess:

You are missing a ; somewhere.
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
09-24-2007 01:05
third guess: you are putting an event handler outside a state block (where only a function - not an event handler - can live).
Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
09-24-2007 04:23
Run it through LSLEditor and see what errors it throws up.