BOT_GET_BALANCE_REPLY

From SmartBots Developers Docs
TotalControl for LSLEvents
Revision as of 16:56, 20 March 2019 by Scullyuk (Talk | contribs) (Correction)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
    }
}