Difference between revisions of "TotalControl for LSL/Events/BOT SETUP SUCCESS"

From SmartBots Developers Docs
Jump to: navigation, search
 
(No difference)

Latest revision as of 13:09, 12 May 2017

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);
    }
}