[sldev] VWR-8759 llTextBox in client non-functional - functionality patch attached
Fire
fire at b3dMultitech.com
Wed Nov 4 14:03:01 PST 2009
Hy Nyx,
I have used this in the Green Emerald viewer - IT IS VERY useful, ie
especially when you need textual input from a lot of users, but don't want
those individuals to see others input - ie: Quiz games.
If you download the green emerald viewer, you can put this script in it to
test it out:
integer listener;
default
{
touch_start(integer total_number)
{
llListenRemove(listener);//A previous user may not have responded.
Make sure we don't leak!
integer channel = ~(integer)llFrand(1000.0);
listener = llListen(channel,"","","");
llTextBox(llDetectedKey(0),"Why did the chicken cross the
road.",channel);
}
listen(integer channel, string name, key id, string message)
{
llSay(0,"Good answer! " + message);
llListenRemove(listener);
}
}
On Wed, Nov 4, 2009 at 1:31 PM, Nyx Linden <nyx at lindenlab.com> wrote:
> Hey, this patch came up in office hours - it could be pretty useful for
> a lot of people.
>
> There's a patch attached to the JIRA, does anyone have some time to
> evaluate its usefulness / functionality and get a code review to work it
> into snowglobe?
>
> -Nyx
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20091104/63fb5615/attachment.htm
More information about the SLDev
mailing list