BOT_EVENT_LISTEN_IM
Raised when the Bot receives an instant message.
Reference
This event comes with the following event object:
Variable | Description |
|---|---|
| Sender name and message in the format |
| UUID of the sender |
Example
link_message( integer sender_num, integer num, string str, key id ) {
/////////////////// Bot IM event
if(num==BOT_EVENT_LISTEN_IM) {
llOwnerSay("IM from bot: " + str);
}
}