[sldev] Script to client channel.

Thomas Shikami thomas.shikami at online.de
Mon Feb 16 05:50:16 PST 2009


Dahlia Trimble wrote:
> how about llOwnerSay() encoded messages?
>
> Or how about an off screen hud with prims that display invisible text 
> via llSetText(), but the client could read the text and act on it?
>
> I think what you want could be done without server modifications.
I'd go for the server modifications and what I see from the discussion 
here, the thing wanted is something like llViewerSay(integer channel, 
string message), which would be sent to the viewer but would not be 
displayed anywhere in the user interface at all. It's inner workings 
would be something like llOwnerSay, but modified in a way to not affect 
the user interface in any way and giving no indication that it was used. 
Customized viewers would be able to accept these messages from prims the 
user owns and do some work on it. It could make a big change to 
RestrainedLife as well, as things could be changed in a way to work like 
llViewerSay(RLV, "@version=" + (string)random) instead of the visible 
llOwnerSay("@version=" + (string)random); For that channel, there could 
be a channel number registry on wiki, where people add their channel 
number to reach their viewers and optionally publish the protocol that 
can be used with the viewer. llViewerSay should be restricted like 
llOwnerSay to only send the message to the owner of the prim. Maybe even 
restricted like llMapDestination to only work on attachments or during a 
touch event.
The purpose of a llViewerSay is just one simple requirement, the ability 
to send a message to a customized viewer, without using one of the 
already existing channels which would be visible in regular viewers.


More information about the SLDev mailing list