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...") |
(Correction) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:BOT_GET_BALANCE_REPLY}} | {{DISPLAYTITLE:BOT_GET_BALANCE_REPLY}} | ||
| − | <onlyinclude>Raised | + | <onlyinclude>Raised when balance is successfully requested</onlyinclude> |
{{API Event Table}} | {{API Event Table}} | ||
| 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) { | ||
| − | |||
llOwnerSay("Bot balance is: L$" + str); | llOwnerSay("Bot balance is: L$" + str); | ||
} | } | ||
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);
}
}