I'm trying to make something like an admin script but I want the message (for example all messages with a prefix of /) to be deleted so nobody can see them, how would I go about doing that?
✓ ANSWER ACCEPTED
How to delete a message in chat?
1 answer
✓ Accepted answer
Rather than deleting the message, you can force it to not be displayed by checking your command inside of RegisterProcessCommandsFunction. Return true when a command is detected, and the message won't be displayed.
This discussion is preserved as it was. New answers, comments, and votes are closed.

8 comments
Sorry but how would I do that? I know nothing of using the chat system or anything.
You can start by learning Lua. http://lua-users.org/wiki/LearningLua
lol I know how lua works, I just don't know how the chat system works, it seems confusing
I don't know wich stupid person disliked this post, because from my research and my command system I use the same thing (I don't even think there is an alternative) and if you know how to script you know how to do this. and if you ask for a script your question should be moderated.
lmao I'm not asking for the script, I want to know how I'm supposed to make it. It's not like I can just do "Chat:RegisterProcessCommandsFunction"
It's litterly that, it's a function wich you have to send a return true value to stop it from sending the message, to use it copy the chat contents when in play mode and copy them in studio, then add a module script in chat modules and put it in there, you can get the chatservice by requiring it, if you need any more help post it either here or send me a message
Well thank you for explaining it, it's not exactly obvious that I need a module script and that I need to put it into chat modules.
Except that you literally just need a function