BOT_EVENT_LISTEN_LOCAL_CHAT
From SmartBots Developers Docs
TotalControl for LSLEvents
Revision as of 07:50, 20 May 2017 by Chevonn Edelmann (Talk | contribs) (Created page with "{{DISPLAYTITLE:BOT_EVENT_LISTEN_LOCAL_CHAT}} <onlyinclude>Raised when Bot sees a message in local chat</onlyinclude> {{API Event Table}} {{API Variable Group|''event'' object...")
Jump to: navigation, search
Raised when Bot sees a message in local chat
Reference
This event comes with the following event object:
Variable | Required | Description | |
---|---|---|---|
event object properties: | |||
str | username: message | ||
id | uuid of speaker |
Example
link_message( integer sender_num, integer num, string str, key id ) {
/////////////////// Bot setup success event
if(num==BOT_EVENT_LISTEN_LOCAL_CHAT) {
llOwnerSay("Local chat from bot: " + str);
}
}
- BOT EVENT LISTEN LOCAL CHAT