Difference between revisions of "DEBUG CHANNEL"

From Second Life Wiki
Jump to navigation Jump to search
m (This is soooooo wrong... I think I'll keep it.)
m (that was irritating)
Line 1: Line 1:
<onlyinclude>{{#vardefine:DEBUG_CHANNEL|{{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF|c=Chat channel reserved for script debugging and error messages.}}}}</onlyinclude>{{LSL Constant
<onlyinclude>{{#vardefine:DEBUG_CHANNEL|{{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF|ihex=2147483647|c=Chat channel reserved for script debugging and error messages.}}}}</onlyinclude>{{LSL Constant
|name={{#var:cname}}
|name={{#var:cname}}
|type={{#var:type}}
|type={{#var:type}}
|value={{#var:value}}
|hvalue=0x7FFFFFFF
|value=2147483647
|desc=Chat channel reserved for script debugging and error messages. The client will display chat on this channel in the script console.
|desc=Chat channel reserved for script debugging and error messages. The client will display chat on this channel in the script console.
|examples
|examples

Revision as of 23:22, 16 May 2012

Description

Constant: integer DEBUG_CHANNEL = 0x7FFFFFFF;

The integer constant DEBUG_CHANNEL has the value 0x7FFFFFFF

Chat channel reserved for script debugging and error messages. The client will display chat on this channel in the script console.

Related Articles

Constants

•  PUBLIC_CHANNEL

Functions

•  llWhisper
•  llSay
•  llShout
•  llRegionSay
•  llDialog
•  llListen

Events

•  listen

Useful Snippets

<lsl>key owner;

default{//little link_message debugging script

   link_message(integer a, integer b, string c, key d){
       llSay(DEBUG_CHANNEL, llList2CSV([a,b,c,d]));
       if(llGetOwner() != owner)
           llSetScriptState(llGetScriptName(), FALSE);
   }
   state_entry(){
       owner = llGetOwner();
   }

}</lsl>

Deep Notes

Search JIRA for related Issues

Source

'linden\indra\llcommon\indra_constants.h' as CHAT_CHANNEL_DEBUG (with a value of S32_MAX)

Signature

integer DEBUG_CHANNEL = 0x7FFFFFFF;//Chat channel reserved for script debugging and error messages.