BOT_SETUP_DEBUG

From SmartBots Developers Docs
TotalControl for LSLCommands
Revision as of 02:47, 11 July 2016 by Phil (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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, 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, BOT_SETUP_DEBUG, "1", NULL_KEY);