LlOwnerSay: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Fred Gandt (talk | contribs)
Changed max byte count to 1024. Tested against llSay and the return was identical. If I'm wrong, sorry for the bother.
Fred Gandt (talk | contribs)
Undo revision 798173 by Fred Gandt (Talk)Somehow broke the whole page. Really dunno how. Something to do with looking at history.
Line 2: Line 2:
|func_id=292|func_sleep=0.0|func_energy=10.0
|func_id=292|func_sleep=0.0|func_energy=10.0
|func=llOwnerSay|p1_type=string|p1_name=msg
|func=llOwnerSay|p1_type=string|p1_name=msg
|func_footnote=Owner must be in the same [[region]].
|func_footnote=Owner must be in the same [[region]], although messages will continue to come through for approximately 45 seconds after leaving the region.
|func_desc=Says '''msg''' to the owner only.
|func_desc=Says '''msg''' to the owner only.
|return_text
|return_text
|spec
|spec
|caveats=*Truncates '''msg''' to 1024 bytes if '''msg''' is more than 1024 bytes long.
|caveats=
*Truncates '''msg''' to 1023 bytes if '''msg''' is more than 1023 bytes long.
*Silently fails when the object to which the script is attached is deeded to group.
|constants
|constants
|examples=<pre>
|examples=<lsl>default
default {
{
     touch_start()
     touch_start(integer total_number)
     {
     {
         llOwnerSay("Ouch!" );
         llOwnerSay("Ouch!" );
     }
     }
}
}</lsl>
</pre>
|helpers
|helpers
|also_functions=
|also_functions=
Line 24: Line 25:
{{LSL DefineRow||[[llInstantMessage]]|}}
{{LSL DefineRow||[[llInstantMessage]]|}}
|also_events
|also_events
|also_tests
|also_tests=
{{LSL DefineRow|[[llOwnerSay Test]]|}}
|also_articles
|also_articles
|notes
|notes

Revision as of 02:00, 11 March 2010

Summary

Function: llOwnerSay( string msg );
0.0 Forced Delay
10.0 Energy

Says msg to the owner only.

• string msg

Owner must be in the same region, although messages will continue to come through for approximately 45 seconds after leaving the region.

Caveats

  • Truncates msg to 1023 bytes if msg is more than 1023 bytes long.
  • Silently fails when the object to which the script is attached is deeded to group.

Examples

<lsl>default {

   touch_start(integer total_number)
   {
       llOwnerSay("Ouch!" );
   }
}</lsl>

See Also

Functions

•  llRegionSay Sends chat region wide
•  llWhisper Sends chat limited to 10 meters
•  llSay Sends chat limited to 20 meters
•  llShout Sends chat limited to 100 meters
•  llInstantMessage

Deep Notes

Tests

• llOwnerSay Test

Signature

function void llOwnerSay( string msg );