Author Topic: What's the code that detects something in chat?  (Read 615 times)

What is the code that detects something in the chat? And I mean like, IN the chat, like a password, or whatev.


NEW: I mean like the censor chat, censoring the cuss words. Or the E-Tard filter, it detects the word and stops the player from saying it.
« Last Edit: September 02, 2012, 03:28:36 PM by padmedog »

As in, detects something being said?

Judging by Kalphiter's comment I'm positive none of us have any idea what you're trying to say. Explain.


Yes
Server sided: serverCmdMessageSent(%client, %msg)
Client sided: clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)

Server sided: serverCmdMessageSent(%client, %msg)
Client sided: clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
serverCmdMessageSent(%client, %msg) detects something being said? Or does it have to be in an if statement?

serverCmdMessageSent(%client, %msg) detects something being said? Or does it have to be in an if statement?
serverCmdMessageSent(%client, %msg) is the function.

serverCmdMessageSent(%client, %msg) is the function.
Where does it detect the chat in the message? The %msg part?

Where does it detect the chat in the message? The %msg part?
Obviously -_-