TotalControl Commands
From SmartBots Developers Docs
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. | |
Communication commands | ||
BOT_SAY_CHAT | Commands bot to say a message on the specified channel | |
BOT_INSTANT_MESSAGE | Commands bot to send an instant message to an avatar | |
BOT_SAY_GROUP_CHAT | Commands bot to send a message to the specified group | |
BOT_SEND_NOTICE | Commands bot to send a notice to the specified group | |
BOT_LISTEN_LOCAL_CHAT | Commands bot to listen to messages in local chat and send them to the script | |
BOT_LISTEN_IM | Commands bot to listen to IMs sent to the bot and send them to the script | |
Movement commands | ||
BOT_WALK | Commands bot to move/turn in the specified direction | |
BOT_WALKTO | Commands bot to walk to the specified coordinates | |
BOT_TELEPORT | Commands bot to teleport to a specified location | |
BOT_FLY | Commands bot to start flying | |
BOT_SIT | Commands bot to sit on a prim | |
BOT_STAND | Commands bot to stand up. If a permanent sit UUID is set then this command will clear it. | |
Misc. commands | ||
BOT_LISTEN_INVENTORY_OFFER | Commands bot to listen to inventory offers | |
BOT_LISTEN_MONEY_PAYMENTS | Commands bot to notify script every time it receives a payment | |
BOT_LISTEN_DIALOG | Commands bot to send dialog requests to the script | |
BOT_LIST_GROUPS | Retrieves a list of all the groups the bot is in | |
BOT_GROUP_JOIN | Commands bot to join the specified group | |
BOT_GROUP_LEAVE | Commands bot to leave the specified group | |
BOT_OFFER_FRIENSHIP | ||
BOT_UNFRIEND | Commands bot to unfriend to someone | |
BOT_TOUCH_OBJECT | Commands bot to touch an object | |
BOT_ATTACHMENT_OBJECT | Commands bot to touch an object currently being worn | |
BOT_GIVE_INVENTORY | Commands bot to give an inventory object to someone | |
BOT_GIVE_MONEY | Commands bot to give money to specified uuid | |
BOT_GET_BALANCE | Requests the current L$ balance of the bot | |
BOT_ATTACHMENTS | Requests the attachments being worn by the bot | |
BOT_DIALOG_REPLY | Commands bot to reply to a dialog menu | |
BOT_WEAR | Commands bot to wear or add a specified item | |
BOT_GROUP_INVITE | Commands bot to invite a resident to a group | |
BOT_GROUP_EJECT | Commands bot to eject a resident from a group | |
BOT_SIM_RESTART_START | Commands bot to begin sim restart | |
BOT_SIM_RESTART_STOP | Commands bot to stop sim restart | |
BOT_SIM_SEND_MESSAGE | Send a message to all avatars in a region. The bot must be an estate manager. |
The numeric values are available here: Commands and events values.