Channel Modes


Channel modes are used to set certain options to a channel. To use Channel Modes, the user must be IN the channel and opped.The syntax is /mode #channel +/- (mode letter) nick/ident/hostmask

b Ban : This will ban a specified user from joining a channel. It will also prevent them from sending text to the channel if that user is still in the channel.
Examples:
/mode #channel +b *!*user@*.host
/mode #channel -b *!*user@*.host


i Invite only: This will make the channel invite only. Users must be specifically invited to join using /invite nickname #channel. If a user is on the channel access list, they may invite themselves into the channel using /cs invite #channel.
Examples:
/mode #channel +I
/mode #channel -i


e CTCP's: This will prevent users from sending CTCP's to a channel but will not prevent actions.
Examples:
/mode #channel +e
/mode #channel -e


c Color: This will prevent colors, such as color popups and text, from being sent to the channel.
Examples:
/mode #channel +c
/mode #channel -c


d Nickchange: This will prevent other users from changing their nicknames in the channel, except if Nickserv changes their nicks to Guestxxxxx and vice versa. Users on the channel access list can still change their nicknames while the channel is using this mode.
Examples:
/mode #channel +d
/mode #channel -d


k Keyed: This sets the channel so that only users who specify the channel key (password) as the second parameter of the /join command can join the channel.
Examples:
/mode #channel +k letmein
/join #channel letmein
/mode #channel -k letmein


l Limit: This will limit the number of users that can be in the channel simultaneously.
Examples:
/mode #channel +l 30
/mode #channel -l


m Moderated: This causes a channel to be moderated so only the operators and users who are voiced (+v) can send text to the channel.
Examples:
/mode #channel +m
/mode #channel -m


n No External Messages: This sets the channel so that no external messages or notices can be sent to the channel by users who are not in the channel. This mode is set by default to a newly registered channel.
Examples:
/mode #channel +n
/mode #channel -n


o Channel Operator: This is used to give operator status (@) to a user in the channel.
Examples:
/mode #channel +o nick
/mode #channel -o nick


p Private: This marks the channel as private. It will not appear when others users do the /list command to get a list of all channels on the network.
Examples:
/mode #channel +p
/mode #channel -p


r Registered: This indicates that a channel is registered. This is for information purposes only and cannot be altered.

s Secret: This hides the channel in the list. If a user is in a Secret channel, it will not be indicated on the /whois unless the person who does the /whois is also in the secret channel.
Examples:
/mode #channel +s
/mode #channel -s


t Topic: This sets the channel so that only channel operators can change the topic. This mode is set by default upon registration of a channel, but may be altered.
Examples:
/mode #channel +t
/mode #channel -t


v Voice: This will give voice (+v) to a user in a channel, who may still send text to a channel that is moderated (+m).
Examples:
/mode #channel +v nick
/mode #channel -v nick


M Forward Moderated Chat: This mode is used to forward moderated chats. If the channel is set to +mM all the messages sent to the channel, that cannot be viewed by other users, will be sent to a +N channel. Both channel modes work together.
Examples:
/mode #channel +M #receiving-channel
/mode #beginner -mM


N Receiving Channel: This command is set to a channel that is receiving moderated messages from a +mM channel. It is a good way to scan questions when you have a special event. To use both +M and +N modes, you must be an IRCop and you must be a channel operator (@) in both channels.
Examples:
/mode #receiving-channel +N #channel
/mode #receiving-channel -N


R Restricted: This channel mode will only allow registered nicknames.
Examples:
/mode #channel +R
/mode #channel -R


L Language filtering: This is set on the server level, if filtering is enabled and you want language filters to be active in channels you must set this channel mode. Operators only.

O Channel Overflow: If you set a user limit in the channel and have mode +O on, it will redirect the users in the second channel.
Example:
/mode #channel-1 +Ol user limit #channel-2 This means that all users about the user limit for #channel-1 will be redirected to #channel-2

u User Op: UOPs, you can set a user to +u, using /mode #channel +u nick

j Java clients don't need the key to get into a +k channel. If not simultaneously used with +k the channel will only allow Java users in the channel and lock out all other clients.

Channel modes can be set simultaneously, and removed simultaneously, for example:/mode #channel +kl letmein 50 This shows that the channel has a key pass of letmein and a limit of 50 users. To remove this mode:/mode #channel -kl letmein