Difference between revisions of "TotalControl for LSL/Commands/BOT SETUP DEBUG"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:BOT_SETUP_DEBUG}} <onlyinclude>Enables or disables the debug mode.</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|BOT_SETUP_DEBUG}} {{API Vari...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
== Comments == | == Comments == | ||
− | With debug on, | + | With debug on, TotalControl starts sending debugging messages to local chat DEBUG_CHANNEL. This can be used to trace the commands and TotalControl status during the development process. |
== Example == | == Example == |
Latest revision as of 06:00, 18 May 2017
Enables or disables the debug mode.
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description
| |
---|---|---|---|
str | yes | 0 - to disable debug
1 - enable debug | |
id | yes | -- |
Comments
With debug on, TotalControl starts sending debugging messages to local chat DEBUG_CHANNEL. This can be used to trace the commands and TotalControl status during the development process.
Example
llMessageLinked(LINK_SET, BOT_SETUP_DEBUG, "1", NULL_KEY);