I'm not quite sure what the difference is between the following 2 channel modes.
+c and +S
Difference between modes?
+c blocks colour formatting codes in channel messages and +S simply strips the colour formatting.
So with +c any message with colour formatting in it doesnt get to the channel and nobody except the sender sees it and a message saying it has been blocked.
With +S the colour formatting is removed before the message gets to the other users in the channel so they see the message without the colour formatting.
+c = Block, +S = strip/remove
So with +c any message with colour formatting in it doesnt get to the channel and nobody except the sender sees it and a message saying it has been blocked.
With +S the colour formatting is removed before the message gets to the other users in the channel so they see the message without the colour formatting.
+c = Block, +S = strip/remove
Correct.
The reason only the sender sees it is because of the way IRC deals with PRIVMSG commands (messages to users or channels). Because a PRIVMSG is not relayed back to the client when the client sends one, most clients display the message on the screen as if it had been recieved anyway. Then the client sends the message to the IRCd which then parses it and does what it needs to before passing it on to other servers and users as apropriate.
The reason only the sender sees it is because of the way IRC deals with PRIVMSG commands (messages to users or channels). Because a PRIVMSG is not relayed back to the client when the client sends one, most clients display the message on the screen as if it had been recieved anyway. Then the client sends the message to the IRCd which then parses it and does what it needs to before passing it on to other servers and users as apropriate.