Difference between revisions of "Listen"

From Second Life Wiki
Jump to: navigation, search
Line 5: Line 5:
 
|p3_type=key|p3_name=id|p3_desc
 
|p3_type=key|p3_name=id|p3_desc
 
|p4_type=string|p4_name=message|p4_desc
 
|p4_type=string|p4_name=message|p4_desc
|event_desc=Trigged by chat, setup with {{LSLG|llListen}}
+
|event_desc=Trigged by chat, use {{LSLG|llListen}} to enable and filter
 
|constants={{LSL Constants/Chat}}
 
|constants={{LSL Constants/Chat}}
 
|spec
 
|spec

Revision as of 22:12, 2 March 2007

Description

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

Trigged by chat, use llListen to enable and filter

• 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 );