of     1   

m27frogy
#99197845Tuesday, May 28, 2013 10:25 PM GMT

In my testing, all my team chats have not fired a Chatted event, while all other ones do. It's crucial that I be able to access TC messages, is there any way?
cntkillme
#99198243Tuesday, May 28, 2013 10:28 PM GMT

Yes, it's because the substring starts with "%" or "%%" while the prefix will check at the first index.
m27frogy
#99205449Tuesday, May 28, 2013 11:21 PM GMT

So, as clarification, is it possible for a script to access team chat messages?
cntkillme
#99205733Tuesday, May 28, 2013 11:23 PM GMT

I'm 99% sure yes.
m27frogy
#99206535Tuesday, May 28, 2013 11:29 PM GMT

Then why won't the Chatted event fire? I have a GUI which displays the message as soon as anyone sends one, this seems to operate properly. It displays all normal messages. However, team chat will not work, even though I have the Chatted event running on a player who is team chatting. None of the team chatted events appear. You could run a similar system with a script sending out a Message Instance every time a message is sent, if you want to simulate it. Basically, although this seems counter-intuitive, the Chatted event doesn't seem to fire with Team Chats. However, it may be I'm doing something wrong, I'd appreciate someone trying the test themselves to verify.
cntkillme
#99207627Tuesday, May 28, 2013 11:37 PM GMT

Because it starts in "%%"
m27frogy
#99208828Tuesday, May 28, 2013 11:45 PM GMT

If it doesn't fire the Chatted event, then how am I supposed to detect team chats?
cntkillme
#99209844Tuesday, May 28, 2013 11:52 PM GMT

Try this: if msg == "%%kill" or something :)
m27frogy
#99210963Wednesday, May 29, 2013 12:01 AM GMT

..... I'm just printing a message, it doesn't really care if there are %s in the front of a message or not, it just prints them. I don't think this guy fully understands what I'm doing. I'm not TESTING to see if a message is a team chat, I'm just printing all chats IN GENERAL. I've just noticed that I can chat millions of random messages, with whatever content, and they will print on my screen. It's just a GUI I've constructing that prints out the latest chat by someone and prints it in a text box. I noticed that team chats won't appear.
cntkillme
#99211362Wednesday, May 29, 2013 12:04 AM GMT

BUT chatted events get the full message I believe, idk try it, if not, make a gui for it.
kirkyturky12
#99211756Wednesday, May 29, 2013 12:08 AM GMT

@OP No, there is no way to get team chats, as the .Chatted event does not fire for them. cntkillme just doesn't know what he is talking about.
m27frogy
#99212407Wednesday, May 29, 2013 12:12 AM GMT

The chatted event does get the full message when it fires, but in my testing, when a chat starts with %, the event won't fire period. It doesn't matter if the Chatted event yields all or some if it won't fire AT ALL. In this way... Player 1: "I'm a scripter." My script prints "I'm a scripter." Player 2: "Me too!" Script prints "Me too!" Player 1: "%SEECRET" My script does nothing. Player 2: "%You gotta be kidding meh." Script does nothing. Player 1: "SEECRET" Script prints "SEECRET" The script just prints the content of the Chat, it should print every chat that's sent, but it doesn't. Why not?
m27frogy
#99212625Wednesday, May 29, 2013 12:14 AM GMT

Sorry, I didn't notice your message until after I was done typing. Well, that's a serious bummer. There are lots of situations when that would be really nice, like creating a custom chat filter. Just team chatting gets around any custom chat filter you could make. Bummer....
[rfa#hidefromsearch]
#99221016Wednesday, May 29, 2013 1:15 AM GMT

[rfa#hidefromsearch]
Tenal
#99222184Wednesday, May 29, 2013 1:22 AM GMT

@six DOM
cntkillme
#99224476Wednesday, May 29, 2013 1:38 AM GMT

@kirkyturky12 Get out, I've done this 4 years ago and it worked then, I would think it would work now. GO AWAY UGLY
[rfa#hidefromsearch]
#99224647Wednesday, May 29, 2013 1:39 AM GMT

[rfa#hidefromsearch]
cntkillme
#99224940Wednesday, May 29, 2013 1:42 AM GMT

CUZ I YOLO
toshir0z
#99242373Wednesday, May 29, 2013 4:09 AM GMT

For Team Chats Roblox uses a Locked :WhisperChat() Method that cannot be logged serverside, I dont know why they chose to make it non-loggable. It just is :\
toshir0z
#99242446Wednesday, May 29, 2013 4:10 AM GMT

On the otherhand It is possible to log Clientside with a localscript... So it really depends on what your doing :\

    of     1