BOT SETUP SUCCESS

From SmartBots Developers Docs
TotalControl for LSLEvents
Revision as of 18:12, 6 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Raised when Bot has been set successfully</onlyinclude> {{API Event Table}} {{API Variable Group|''event'' object properties}} {...")

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

Raised when Bot has been set successfully

Reference

This event comes with the following event object:

Variable Required Description
event object properties:
data The name of the Bot
id

Example

link_message(integer sender,integer cmd, string data, key id) {
    /////////////////// Bot setup success event
    if(cmd==BOT_SETUP_SUCCESS) {
        // Inform user
    	llOwnerSay("AdminBot bot setup success:\n"+
        	"Bot name: "+data);
    }
}