IRC:Channel Modes

From Zandronum Wiki
Jump to navigation Jump to search

Channel Modes are used to set various channel settings (such as who can access the channel, its behavior etc). They're being set via the /MODE command.

Example: to set the channel #mychannel secret (+s), invoke /mode #mychannel +s

X,Y - numbers, AN - any alphanumeric symbols
Mode Argument Short Description Long Description
+A All users can invite Allows any user on the channel to use /INVITE command. By default only half-ops and ops can use it.
+B Block caps Blocks messages that contain more than 50% capital letters if they're longer than 5 symbols.
+C Block ctcp Blocks users from sending CTCP requests to channel.
+D Join delay When users join, they will be invisible until they talk on channel.
+F X:Y (changes:seconds) Limit nick changes Lets users change nick only X times per Y seconds if they're on channel.
+H X:Y (lines:seconds) Channel history Displays last X lines (up to 20) within Y seconds to newly joined users so that they will know the current subject of conversation.
+I nick!ident@host Invite exception Users who match the hostmask will be able to join channel even if it's invite-only (bypass +i). If no argument is given, the invite exception list will be displayed.
+J X (seconds) Rejoin after kick delay Users will not be able to join a channel for X seconds after they have been kicked. Usable as another implementation of TBAN (temporary ban). Also prevents users from using "Auto-rejoin on kick" feature.
+K No knock Users won't be able to use /KNOCK command to request an invite.
+L #channel Redirect when full Redirects newly joining users to a "#channel" if a channel they are joining is full from channel mode +l.
+M Login-to-talk To send anything to channel, users must be registered and logged in.
+N No nick changes Users that are on channel won't be able to change their nick.
+O Opers only Only IRC operators can join the channel. Can only be set by IRC operators.
+P Permanent Makes the channel permanent. An unregistered channel will not disappear when there are no users. Can only be set by IRC operators.
+Q No kicking Disallows kicking. Only Services may kick users from the channel.
+R Login-to-join Users must be registered and logged in to join a channel.
+S Strip colors mIRC-like colors get stripped from messages that have been sent to channel.
+T Block notices Users won't be able to use /NOTICE on the channel.
+X permission:mode Exempt chanops Allows users with at least the specified channel access mode (o/h/v) to bypass a given restriction set by other channel modes. For example, setting +X nonick:v would let users change nicks if they are voiced or higher, despite +N being set. Available permissions are: blockcaps (+B), blockcolor (+c), filter (+g), flood (+f), nickflood (+F), noctcp (+C), nonick (+N), nonotice (+T), regmoderated (+M), stripcolor (+S), topiclock (+t), auditorium-vis (permission required to be visible in a +u channel), auditorium-see (permission required to see full user list of a +u channel). Note: topiclock will lock users below the specified mode from changing the topic when +t is set. If no argument is given, the exempt chanop list will be displayed.
+Z mode=args Named modes Allows display and manipulation of channel modes with long-form mode names. For example: +Z ban=igor!*@* or -Z topiclock. If no argument is given, the named modes list will be displayed.
+b nick!ident@host#chan


Ban Bans the user from channel. Tip: #chan is optional; when included, the banned user will be redirected to the specified channel. If no argument is given, the ban list will be displayed.
+c Block colors Messages that contain mIRC-like colors will be blocked. This mode is set by default on newly created channels.
+d X (seconds) Wait before speaking Users must wait X seconds after join to be able to talk.
+e nick!user@host Ban exception Users who match the hostmask will be able to join the channel even if banned (bypass +b). If no argument is given, the ban exception list will be displayed.
+f *X:Y (*messages:seconds) Kickban on flood Users who write more than X messages in Y seconds will get kicked. * symbol is optional, if you put it before messages:seconds, users will be kickbanned instead of just kicked.
+g AN Channel filter Messages containing a +g'ed pattern will be blocked. Words must be specified with a wildcard pattern, e.g. +g *igor*. If no argument is given, the filter list will be displayed.
+h nick Half-Op "nick" will be half-opped. Cannot be set by half-ops.
+i Invite only Makes channel invite-only so users cannot join it w/o being invited or being on the 'invex' list (+I).
+j X:Y (joins:seconds) Join flood protection Allows only X joins per Y seconds.
+k AN Key Sets a key on channel (users must know key to join).
+l X Limit user count New users won't be able to join if there are already X users on channel.
+m Moderated / Mute Only ops, half-ops and voiced users will be able to talk.
+n No external messages Users must actually be on channel to send any messages to it. If this mode is unset, users can send to channel without being on it by using /MSG #channel text. This mode is set by default on newly created channels.
+o nick Op "nick" will be opped.
+p Private Makes the channel private. It won't be shown in public channel list (/LIST), but it can still be queried for information and will show up in user info (/WHOIS).
+s Secret Makes the channel secret. No references at all will be shown to users outside of this channel.
+t Topic protection Only ops and half-ops can change channel topic when this mode is set. This mode is set by default on newly created channels.
+u Auditorium Users will be able to see only ops and themselves. Joins, parts and kicks won't be shown to users. However, channel ops can see each other and all the users that are on channel.
+v nick Voice "nick" will be voiced (bypass +m while messaging). Occasionally, some channel owners give auto-voice to all users to make them 'look different than normal'.
+w mode:nick!ident@host Auto-op Automatically grants the given channel access mode to the specified user on join. R:account can be used instead of nick!ident@host, for example, +w o:R:igor will op anyone identified to the account "igor" on join.
+z SSL users only Only users that are connected via SSL can join the channel. This mode can not be set while there is at least one user that is not connected via SSL.

Related Articles