Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

message to string?

tucor Capalini
Registered User
Join date: 18 Jun 2007
Posts: 44
10-16-2008 16:34
Im wondering if this is possible....
say you have a listen event with the string msg as the message....
and the data contained in msg is "ralph".
you also have pre defined string ralph = "somthing";

so what Im wondering if is possible at all is the data becoming a string (or other such variable)

this make sense?

I.e. when the msg is ralph, I would like the output to be "somthing" without tons and tons of "if"s

TIA
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
10-16-2008 17:13
strided list
or 2 lists working in tandom
ie

definitions = ["bob","something", "ralph", apples];

or
triggers = ["bob","ralph"];
definitions = ["something", "apples"]
tucor Capalini
Registered User
Join date: 18 Jun 2007
Posts: 44
10-16-2008 18:04
ahhhhh....that makes sense!
Grazie!