The way client-sided mutes work is that the server sends the chat message and then the client machine simply ignores it and doesn't present it on screen. There's no way for any script on the server side to tell the client machine what it can and can't do with the information it receives.