Home Server Help Channelmodes
Channelmodes PDF Print E-mail

Channel modes allow for a variety of functions in IRC, ranging from giving users special privileges to allowing only certain users to join the channel.  This page will outline the modes that are available on this network as well as the syntax for that mode. You can remove a given mode at any time by typing the command and replacing the + sign with a -. If you have any queries concerning use of these modes, don't hesitate to ask us in #solidirc.

Syntax:
#channel always refers to the name of the channel you wish to make the command on
Nickname always refers to the target nickname you wish to make the command on

Note: These modes are case-sensitive!


Privileges

Voiced User
Command: /mode #channel +v nickname
Effect: Gives the targeted nickname voice (+) status. Voiced users may talk whilst the channel is moderated (channel mode +m)

Half-Operator
Command: /mode #channel +h nickname
Effect: Gives the targeted nickname half-operator (%) status. Half-operators may talk whilst the channel is moderated (channel mode +m) as well as access basic channel commands such as ban, kick and changing the topic.

Operator
Command: /mode #channel +o nickname
Effect: Gives the targeted nickname operator (@) status. Operators may talk whilst the channel is moderated (channel mode +m) and have access to a range of channel commands 

Protected User
Command: /mode #channel +a nickname
Effect: Gives the targeted nickname protected (&) status. Protected users cannot be kicked from the channel except for the channel founder. Channel admins (access level 10 or above or  xOP level SOP) automatically recieve this mode.

Channel Founder
Command: /mode #channel +q nickname
Effect: Gives the targeted nickname founder (~) status. Channel founders have access to all channel commands and can also give channel access to users via ChanServ.

All other modes:

Ban a user:
Command: /mode #channel +b nickname!user@host
Effect: Bans a user from the channel using the format nickname!ident@host. You can substitute part of these masks using wildcards (*). For example, /mode #channel +b Phantomal!*@* will ban any user with the name Phantomal, regardless of what their ident or host is. Banned users cannot talk in a channel that they are banned in, and are prohibited from joining a channel they are banned in.


Extbans
Extended Bans (extbans) are an extension of chmode +b (and sometimes +e and +I). In InspIRCd, they tend to match a mode letter and has the same effect as the mode except on specific users, instead of the whole channel.

List of Extbans 
A:[n!u@h] Denies matching users from using /INVITE 
B:[n!u@h] Disallows matching users from using ALL CAPS. 
c:[n!u@h] Blocks messages from matching users if they contain control codes. 
C:[n!u@h] Blocks CTCPs from matching users. 
j:[#channel] Disallows users in a matching #channel from joining the channel. 
m:[n!u@h] Blocks messages to the channel from matching users. 
M:[account] Disallows accounts or registered nicks matching [account] from speaking. 
N:[n!u@h] Disallows matching users from changing their nickname while in the channel. 
O:[opertype] Bans/exempts/invex's the opertype matching in the configuration files. 
p:[n!u@h] Hides part messages from matching users. 
Q:[n!u@h] Disallows /KICK from matching users. 
r:[gecos] Disallows users with a matching gecos (real name field) from joining the channel. 
R:[account] Disallows accounts or registered nicks matching [account] from joining. 
s:[server] Disallows users connected to [server] from joining the channel. 
S:[n!u@h] Strips control codes from messages matching users. 
T:[n!u@h] Disallows NOTICEs from matching users to the channel. 

n!u@h = nick! This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Brackets denote a variable; do not add them around the extban.



Block Caps:
Command: /mode #channel +B
Effect: Blocks messages that are entirely in upper case from being sent to the channel.


Block colour codes:
Command: /mode #channel +c
Effect: Blocks messages that contain colour codes in them from being sent to the channel.

Block CTCP commands:
Command: /mode #channel +C
Effect: Blocks all CTCP commands (such as TIME, VERSION or PING) that are sent to the channel. The user who sent the CTCP command will nsot receive any CTCP responses from users within that channel.

Ban exceptions:
Command: /mode #channel +e nickname!ident@host
Effect: Any user given a ban exception is unaffected by any ban that would affect them otherwise. For example, if a channel banned *!*@irc.solidirc.com, and Phantomal had a ban exception for Phantomal!*@*, then Phantomal would be free to talk in the channel and join the channel even if his full address was Phantomal! This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Flood protection:
Command: /mode #channel +f lines:seconds
Effect: Any user who says more than the specified number of lines in the specified number of seconds is kicked from the channel. For example, if a channel has mode +f enabled and set to 5:5, any user who says more than five lines in five seconds would be kicked. Operators are unaffected by this mode.

Channel Filter:
Command: /mode #channel +g word
Effect: Adds the chosen word to the channel censor list. Messages containing censored words will be blocked from being sent to the channel.

Enable Censor:
Command: /mode #channel +G
Effect: Enables the network censor for the channel.

Invite-Only Channel:
Command: /mode #channel +i
Effect: Users must either have a minimum of level 3 channel access (/msg ChanServ help access for more information) or must be invited (via the /invite command) to be able to join the channel.

Invitation Exceptions:
Command: /mode #channel +I nickname!ident@host
Effect: Users matching the invitation exception pattern do not require access or an invitation to join a channel. For example, if the invitation exception pattern was Phantomal!*@*, then anybody with the nickname Phantomal would not require channel access or an invitation in order to join the channel.

Enable Channel Key:
Command: /mode #channel +k key
Effect: Any user wishing to join the channel must also supply the key set in the channel mode. For example, if the key was 4275qp, then a user would be required to type /join #channel 4275qp in order to successfully join the channel.

No Knocking:
Command: /mode #channel +K
Effect: Users cannot use the /knock command in order to ask for entry into an invite-only channel.

Limit Channel:
Command: /mode #channel +l number
Effect: Users cannot join the channel if the size of the channel is greater than or equal to the specified number.

Link Channel when Limit Reached:
Command: /mode #channel +L #targetchannel
Effect: if a user tries to join a channel that has reached its limit, the user is redirected to join the target channel instead.

Moderate Channel:

Command: /mode #channel +m
Effect: Only voiced users and operators may speak in the channel.

Silence Unregistered Users:
Command: /mode #channel +M
Effect: Only users registered with NickServ may speak in the channel.

Block External Messages:
Command: /mode #channel +n
Effect: Users must be in a channel to send messages to the channel.
Note: This is enabled by default when a channel is created. 

Block Nickname Changes:
Command: /mode #channel +N
Effect: Users cannot change their nickname as long as they are in the channel.

Private Channel:
Command: /mode #channel +p
Effect: A private channel will not show up in a person’s /whois reply. This mode is considered depreciated in favour of the Secret Channel mode (+s).

Permanent Channel:
Command: /mode #channel +P
Effect: The channel will not disappear when there are no users in the channel.

Block Kicking:
Command: /mode #channel +Q
Effect: Channel operators cannot use the /kick command to kick a person from the channel. 

Registered Channel:
Command: N/A
Effect: Specifies that the channel has been registered with ChanServ.
Note: This mode is automatically enabled when the channel is registered with ChanServ, and is automatically removed when the channel is dropped from ChanServ.

Registered Users Only:

Command: /mode #channel +R
Effect: Only users registered with NickServ are permitted to join the channel.

Secret Channel:
Command: /mode #channel +s
Effect: A secret channel will not show up in a person’s /whois reply. Additionally, a secret channel will not show up in channel listings (via the /list command)

Strip Colour Codes:
Command: /mode #channel +S
Effect: Any messages sent to the channel that have colours in the message will be deleted before being displayed in the channel.

Topic Restriction:
Command: /mode #channel +t
Effect: Only channel operators may change the topic.
Note: This mode is enabled by default when a channel is created.

Block Notices:
Command: /mode #channel +T
Effect: Blocks any notices (using the /notice command) from being sent to the channel.

Channel Auditorium:
Command: /mode #channel +u
Effect: The channel list hides all nicknames except for your own and any operators in the channel.
Note: Half-operators (+h/%) are not shown in the list of operators. 

Block Invitations:
Command: /mode #channel +V
Effect: Users cannot invite other users to join the channel.

SSL-Only Channel:
Command: /mode #channel +z
Effect: Only users that have SSL enabled are permitted to join the channel.