# BOT_EVENT_LISTEN_LOCAL_CHAT

Raised when the Bot sees a message in local chat.

```snippet totalcontrol-event-reference-SHMdGBygzz
str | Speaker name and message in the format `speaker name: message`
id  | UUID of the speaker
```

## Example

```csharp
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);
    }
}
```