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

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:BOT_EVENT_LISTEN_SUCCESS}} <onlyinclude>Raised when a listener has successfully been established</onlyinclude> {{API Event Table}} {{API Variable Group|''event...")
 
m
Line 4: Line 4:
 
{{API Event Table}}
 
{{API Event Table}}
 
{{API Variable Group|''event'' object properties}}
 
{{API Variable Group|''event'' object properties}}
{{API Variable|str}} --
+
{{API Variable|str}} ---
 
{{API Variable|id}} ---
 
{{API Variable|id}} ---
  

Revision as of 07:43, 20 May 2017

Raised when a listener has successfully been established

Reference

This event comes with the following event object:

Variable Required Description
event object properties:
str ---
id ---

Example

link_message( integer sender_num, integer num, string str, key id ) {
    /////////////////// Bot setup success event
    if(num==BOT_EVENT_LISTEN_SUCCESS) {
        // Inform user
    	llOwnerSay("Listen succesful");
    }
}