BOT_EVENT_LISTEN_MONEY
Raised when the Bot receives a payment.
Reference
This event comes with the following event object:
Variable | Description |
|---|---|
| Amount of L$ received |
| UUID of the person who sent the payment |
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);
}
}