LlSayTo

From Second Life Wiki

Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/fr Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ja Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Summary

Function: llSayTo( key user, string msg );
REQUEST Function ID
0.0 Delay
10.0 Energy

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

• key user Key of avatar to send to
• string msg Message to send

Specification

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.

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.

Search JIRA for related Bugs

Examples

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

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

In other languages