Events
The TotalControl library raises events to inform your script about errors, chat messages, IMs, and other activities.
To catch these events, use the LSL link_message event (see TotalControl Examples for usage patterns).
Parsing Events
The link_message event in LSL has the following syntax:
link_message(integer sender_num, integer num, string str, key id) { ... }For TotalControl, the num parameter contains the event code (see below).
The values of str and id depend on the event type.
Events List
Command | Description |
|---|---|
Status | |
Raised when Bot has been set successfully. | |
Raised when there was an error setting the bot. | |
Raised when a command error occurs. | |
Raised when bot status is received. | |
Listeners | |
Raised when a listener has successfully been established. | |
Raised when Bot sees a message in local chat. | |
Raised when Bot receives an instant message. | |
Raised when Bot receives an inventory item. | |
Raised when Bot receives a payment. | |
Raised when Bot receives a dialog menu. | |
Request Responses | |
Raised when Bot receives list of groups. | |
Raised when Bot receives list of roles for a group. | |
Raised when balance is successfully requested. | |
Raised when Bot receives list of attachments. | |
Raised when bot returns its location. | |
Raised when balance is successfully requested. | |
Raised when balance is successfully requested. |