Difference between revisions of "TotalControl for LSL/Commands"
From SmartBots Developers Docs
Line 12: | Line 12: | ||
== TotalControl Commands List == | == TotalControl Commands List == | ||
− | The following commands are available within | + | The following commands are available within TotalControl for LSL library: |
{{API Table start|Command|Description}} | {{API Table start|Command|Description}} | ||
Line 29: | Line 29: | ||
{{API Table end}} | {{API Table end}} | ||
− | The numeric values are available here: [[ | + | The numeric values are available here: [[TotalControl for LSL/Examples/Header variables|Commands and events values]]. |
{{NavMenu}} | {{NavMenu}} | ||
__NOTOC__ | __NOTOC__ |
Revision as of 05:58, 18 May 2017
All commands are invoked by calling llMessageLinked LSL function:
llMessageLinked(integer linknum, integer num, string str, key id);
- num is a code of the command (see below)
- str and id parameters depend on a particular command
See the Examples for usage patterns.
TotalControl Commands List
The following commands are available within TotalControl for LSL library:
Command | Description | |
---|---|---|
Startup commands | ||
BOT_SETUP_SETBOT | Sets the working personal Bot. Other commands require this command to be invoked first. | |
BOT_STATUS_QUERY | Queries the selected bot status (useful to determine the subscription length). | |
BOT_RESET_ADMINBOT | Invokes llResetScript() for TotalControl script. | |
Device settings commands | ||
BOT_SETUP_SETOPTIONS | Sets various options for TotalControl. | |
BOT_SETUP_DEVICENAME | Sets the device name and device creator for your statistics purposes (you will be able to see who is using your device). | |
BOT_SETUP_DEBUG | Enables or disables the debug mode. | |
BOT_SETUP_SETLINK | Commands TotalCotrol to use specific link number for llMessageLinked calls instead of LINK_SET. |
The numeric values are available here: Commands and events values.