Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

help understanding a line of script

Bilbo Goodliffe
all around good guy
Join date: 30 Dec 2005
Posts: 22
02-15-2007 03:48
CODE


message(integer sender_num, integer number, string message, key some_key)
{
if(llList2String(llParseString2List(message,[" "],[]),0) == "deployAltitude

/
CODE



shouldn't "message" be llListen?

something like this

message= (integer sender_num, integer number, string message, key some_key)
Stephen Zenith
Registered User
Join date: 15 May 2006
Posts: 1,029
02-15-2007 03:51
It looks to me like message should be a link_message event.

It shouldn't be message = (...), because it's followed by a { which would suggest it's some type of control flow - such as an if, while, for, a function definition etc. In this case an event, specifically link_message. Looks like a little bit got lost in the cut & paste somewhere along the line.