Difference between revisions of "LlSay"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=23|func_sleep=0.0|func_energy=10.0|func=llSay|p1_type=integer|p1_name=channel|p2_type=string|p2_name=msg|func_footnote=says msg on channel}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSLFunctionAll
|func_id=23
|func_sleep=0.0
|func_energy=10.0
|func=llSay
|p1_type=integer
|p1_name=channel
|p2_type=string
|p2_name=msg
|func_footnote=Says the text supplied in string ''msg'' on channel supplied in integer ''channel''.
|return_text
|spec
|caveats=Text can only be a maximum of 1024 bytes. Phrases spoken with llSay can only be heard within 20 meters of the speaking object. An object can '''not''' hear itself, to prevent problems with recursion.
|examples=<lsl>
default {
    state_entry()
    {
        llSay(0,"This is an incredibly useless program." );
    }
}
</lsl>
|helpers
|related={{LSLG|llWhisper}}<br/>{{LSLG|llOwnerSay}}<br/>{{LSLG|llShout}}<br/>{{LSLG|llInstanMessage}}
|also
|notes
}}[[Category:LSL_Functions]][[Category:LSL_Stub]]

Revision as of 13:40, 26 January 2007

   Outdated templated used

Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.

  Either 'func_desc' or 'return_type' & 'return_text' must be defined

(Please use 'return_text' & 'return_type' or 'func_desc' to summarize the functions actions.)

Summary

Function: llSay( integer channel, string msg );
• integer channel
• string msg

Says the text supplied in string msg on channel supplied in integer channel.

Caveats

Text can only be a maximum of 1024 bytes. Phrases spoken with llSay can only be heard within 20 meters of the speaking object. An object can not hear itself, to prevent problems with recursion.

All Issues ~ Search JIRA for related Bugs

Examples

<lsl> default {

   state_entry()
   {
       llSay(0,"This is an incredibly useless program." );
   }

}

</lsl>

Deep Notes

Search JIRA for related Issues

Signature

function void llSay( integer channel, string msg );