Difference between revisions of "LlListen"

From Second Life Wiki
Jump to navigation Jump to search
 
(Added note about name being blank)
Line 1: Line 1:
{{LSLFunctionAll|func_id=25|func_sleep=0.0|func_energy=10.0|func=llListen|return_type=integer|p1_type=integer|p1_name=channel|p2_type=string|p2_name=name|p3_type=key|p3_name=id|p4_type=string|p4_name=msg|func_footnote=sets a callback for msg on channel from name and id (name, id, and/or msg can be empty) and returns an identifier that can be used to deactivate or remove the listen}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSLFunctionAll|func_id=25|func_sleep=0.0|func_energy=10.0|func=llListen|return_type=integer|p1_type=integer|p1_name=channel|p2_type=string|p2_name=name|p3_type=key|p3_name=id|p4_type=string|p4_name=msg|func_footnote=sets a callback for msg on channel from name and id (name, id, and/or msg can be empty) and returns an identifier that can be used to deactivate or remove the listen.  If name is blank, there is no permissions checking, it will listen to any object (or player)}}[[Category:LSL_Functions]][[Category:LSL_Stub]]

Revision as of 18:40, 7 February 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: integer llListen( integer channel, string name, key id, string msg );

Returns an integer

• integer channel
• string name
• key id
• string msg

sets a callback for msg on channel from name and id (name, id, and/or msg can be empty) and returns an identifier that can be used to deactivate or remove the listen. If name is blank, there is no permissions checking, it will listen to any object (or player)

Examples

Deep Notes

Search JIRA for related Issues

Signature

function integer llListen( integer channel, string name, key id, string msg );