BOT_GET_BALANCE_REPLY

From SmartBots Developers Docs
Jump to: navigation, search

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