Difference between revisions of "AdminBot for LSL/Commands/SB SETUP DEBUG"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE: SB_SETUP_DEBUG}} <onlyinclude>Enables or disables the debug mode.</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|SB_SETUP_DEBUG}} {{API Varia...") |
m (Gg moved page AdminBot for Groups/Commands/SB SETUP DEBUG to AdminBot for LSL/Commands/SB SETUP DEBUG) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<onlyinclude>Enables or disables the debug mode.</onlyinclude> | <onlyinclude>Enables or disables the debug mode.</onlyinclude> | ||
− | {{ | + | {{AdminBot Variables Table|command=SB_SETUP_DEBUG}} |
{{AdminBot Required Vars|SB_SETUP_DEBUG}} | {{AdminBot Required Vars|SB_SETUP_DEBUG}} |
Latest revision as of 13:11, 12 May 2017
Enables or disables the debug mode.
// Command usage:
llMessageLinked(LINK_SET, SB_SETUP_DEBUG, string str, key id);
API parameters
llMessageLinked function accepts str and id parameters. Their meaning for SB_SETUP_DEBUG is explained below:
Variable | Required | Description.
| |
---|---|---|---|
str | yes | 0 - to disable debug
1 - enable debug | |
id | yes | -- |
Comments
With debug on, AdminBot script starts sending debugging messages to local chat DEBUG_CHANNEL. This can be used to trace the commands and AdminBot status during the development process.
Example
llMessageLinked(LINK_SET, SB_SETUP_DEBUG, "1", NULL_KEY);