BOT_SETUP_SUCCESS

From SmartBots Developers Docs
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:
str The name of the Bot
id ---

Example

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