Difference between revisions of "Listen"

From Second Life Wiki
Jump to: navigation, search
m (LSL listen moved to Listen: removing prefix)
Line 6: Line 6:
 
|p4_type=string|p4_name=message|p4_desc
 
|p4_type=string|p4_name=message|p4_desc
 
|event_desc=Result of the {{LSLG|llListen}} library function call
 
|event_desc=Result of the {{LSLG|llListen}} library function call
|constants
+
|constants={{LSL Constants/Chat}}
 
|spec
 
|spec
 
|caveats
 
|caveats

Revision as of 02:58, 28 February 2007

Description

Event: listen( integer channel, string name, key id, string message ){ ; }

Result of the llListen library function call

• integer channel
• string name
• key id
• string message
Channel Constant Description
DEBUG_CHANNEL 0x7FFFFFFF Chat channel reserved for script debugging and error messages, broadcasts to all nearby users.
PUBLIC_CHANNEL 0x0 Chat channel that broadcasts to all nearby users. This channel is sometimes referred to as: open chat, local chat and public chat.

Examples

Deep Notes

Signature

event void listen( integer channel, string name, key id, string message );