Using TotalControl
This section describes how to communicate with AdminBot gateway: manage it to login / logout your bot, talk over and listen to bot chat etc.
Interacting with AdminBot
The two-way communication is performed by
- Commands (your script => AdminBot)
- Events (AdminBot => your script).
EVENTS (bot => script) | COMMANDS (script => bot) |
---|---|
Events is a notification being sent from the bot to your script (error message, group chat IM etc).
AdminBot Events section contains all events which can be sent by AdminBot to your script. |
These are the commands you send to the bot (initialization, group invitation etc).
AdminBot Commands section contains the full list of the commands. |
How to receive eventsUse link_message LSL event to catch the events from the bot. |
How to send commandsUse LSL llMessageLinked function to send commands to the bot.
|
Was the command successful?Due to the nature or llMessageLinked function, it's not possible to retrieve the command result directly. However, AdminBot invokes events to signal the command result, available by link_message. |
Before Sending Any Commands
You have to set the group name before issuing the most of the commands. See Initializing TotalControl for details.
Examples
We've provided examples on the most important functions of AdminBot. They are available here: TotalControl Examples.