BOT_EVENT_LISTEN_LOCAL_CHAT
Raised when the Bot sees a message in local chat.
Reference
This event comes with the following event object:
Variable | Description |
|---|---|
| Speaker name and message in the format |
| UUID of the speaker |
Example
link_message( integer sender_num, integer num, string str, key id ) {
/////////////////// Bot listen local chat event
if(num==BOT_EVENT_LISTEN_LOCAL_CHAT) {
llOwnerSay("Local chat from bot: " + str);
}
}