BOT_EVENT_LISTEN_MONEY
From SmartBots Developers Docs
Jump to: navigation, search
Raised when Bot receives a payment
Reference
This event comes with the following event object:
Variable | Required | Description | |
---|---|---|---|
event object properties: | |||
str | amount of L$ received | ||
id | uuid of person that sent money |
Example
link_message( integer sender_num, integer num, string str, key id ) {
/////////////////// Bot listen money event
if(num==BOT_EVENT_LISTEN_MONEY) {
llOwnerSay("Got L$" + str + " from " + (string)id);
}
}
- BOT EVENT LISTEN MONEY