Difference between revisions of "TotalControl for LSL/Events/BOT GET BALANCE REPLY"

From SmartBots Developers Docs
Jump to: navigation, search
(Correction)
 
Line 1: Line 1:
 
{{DISPLAYTITLE:BOT_GET_BALANCE_REPLY}}
 
{{DISPLAYTITLE:BOT_GET_BALANCE_REPLY}}
<onlyinclude>Raised when when balance is successfully requested</onlyinclude>
+
<onlyinclude>Raised when balance is successfully requested</onlyinclude>
  
 
{{API Event Table}}
 
{{API Event Table}}

Latest revision as of 16:56, 20 March 2019

Raised when balance is successfully requested

Reference

This event comes with the following event object:

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

Example

link_message( integer sender_num, integer num, string str, key id ) {
    if(num==BOT_GET_BALANCE_REPLY) {
    	llOwnerSay("Bot balance is: L$" + str);
    }
}