Getting chat channel that a user chats in (SOLVED)

I am having trouble figuring out a way to have a script either:

a) see what channel a user types in using the .Chatted event, or
b) use a different event that can specify which channel a message was said in, and by whom.

I haven’t done too much with roblox’s chat system modules other than creating speakers and similar stuff. Any help is appreciated.

2 Likes

Have you tried searching for something that may help you first? There’s an entire documentation hub for the Lua Chat System. For example, a quick skim through leads me right to the answer to your question - the event ChatSpeaker.SaidMessage, which passes both the message sent and the channel it was sent in.

That’s perfect! I was unaware there were events for ChatSpeaker. I must have missed it. Thanks for the help!