[sldev] Custom LSL commands / communication with own viewer via LSL

Tobias Lang tlang303 at gmail.com
Thu Apr 5 11:28:03 PDT 2007


Dale,

thanks. One question though. It seems that 
"process_chat_from_simulator()" only works for chat channel 0. Is there 
a way to switch to another channel. Are channel other than 0 even 
propagated to the clients, or are they used only for inter-object 
communication on the server side?

-Tobias


Dale Glass wrote:
> ? ????????? ?? 5 ?????? 2007 17:32 Tobias Lang ???????(a):
>   
>> Hi,
>>
>> I'm looking for a way to control my Viewer via LSL commands. For
>> example, I like to call a function "DoMyStuff()" out of a LSL
>> script. I see two ways to do that. Either I can add a custom
>> command to the LSL language, or if that's not possible, I might
>> listen in my app for a certain chat like "\DoMyStuff(3.5, 2.1) "
>> What choice would be appropriate / possible?
>>     
>
> I wrote some code for that. Explanation and link to source here:
> https://wiki.secondlife.com/wiki/LSL_To_Client_Communication
>
> If you have problems with that, tell me about it.
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20070405/dae9aafd/attachment.htm


More information about the SLDev mailing list