llSayTo

From Second Life Wiki
Revision as of 21:56, 10 October 2007 by Manami Hokkigai (talk | contribs) (llSayTo new function request)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: llSayTo( key user, string msg );

Says the text supplied in string msg on to the avatar represented by avatar_key.

• key user
• string msg

Caveats

  • Text can only be a maximum of 1024 bytes.
  • Phrases spoken with llSayTo can only be heard by the designated avatar if they are in the same region.
All Issues ~ Search JIRA for related Bugs

Examples

default {
    touch_start(integer total_number)
    {
        integer i;
        for (i = 0; i < total_number; i++) 
        {
            key id = llDetectedKey(i);
            llSayTo(key, "You touched me!");
        }
    } 
 }

Notes

Very similar to llOwnerSay, except for being able to specify who you are talking to. Eliminates the gridwide and time-delay aspects of llInstantMessage, as well as the offline ability.

See Also

Events

•  listen

Functions

•  llListen
•  llOwnerSay Sends chat to the owner only to avoid spamming the PUBLIC_CHANNEL
•  llRegionSay Sends chat region wide
•  llWhisper Sends chat limited to 10 meters
•  llShout Sends chat limited to 100 meters
•  llInstantMessage

Deep Notes

Search JIRA for related Issues

Signature

function void llSayTo( key user, string msg );