Difference between revisions of "TotalControl for LSL/Events/BOT GET BALANCE REPLY"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:BOT_GET_BALANCE_REPLY}} <onlyinclude>Raised when when balance is successfully requested</onlyinclude> {{API Event Table}} {{API Variable Group|''event'' object...") |
|||
Line 12: | Line 12: | ||
<syntaxhighlight lang="lsl"> | <syntaxhighlight lang="lsl"> | ||
− | link_message( integer sender_num, | + | link_message( integer sender_num, integer num, string str, key id ) { |
if(num==BOT_GET_BALANCE_REPLY) { | if(num==BOT_GET_BALANCE_REPLY) { | ||
Revision as of 16:38, 6 March 2019
Raised when 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);
}
}