Channel Modes

From TechNet Wiki
Revision as of 21:01, 28 April 2023 by ComputerTech (talk | contribs)
Jump to navigation Jump to search

IRC channel modes are settings that allow you to control various aspects of a channel, such as who can join, speak, or modify certain properties of the channel. They are indicated by a single-letter code preceded by a plus or minus sign. To set a channel mode, a channel operator can use the "/mode" command followed by the appropriate mode code and parameters.

Example

To set +R on the channel #example

/mode #example +R

To unset it:

/mode #example -R


Channel Modes

  • c = Block messages containing mIRC color codes [o]
  • C = No CTCPs allowed in the channel [h]
  • D = Delay showing joins until someone actually speaks [o]
  • e <nick!ident@host> = Overrides a ban for matching users [h]
  • f <floodparams> = Flood protection (for more info see /HELPOP CHMODEF) [o]
  • G = Filters out all Bad words in messages with <censored> [o]
  • H <max-lines:max-minutes> = Record channel history with specified maximums [o]
  • i = A user must be invited to join the channel [h]
  • I <nick!ident@host> = Overrides +i for matching users [h]
  • k <key> = Users must specify <key> to join [h]
  • K = /KNOCK is not allowed [h]
  • L <chan2> = Channel link (if unable to join, user will be forwarded to <chan2>) [o]
  • l <number of max users> = Channel may hold at most <number> of users [h]
  • m = Moderated channel (only +vhoaq users may speak) [h]
  • M = Must be using a registered nick (+r), or have voice access to talk [h]
  • N = No Nickname changes are permitted in the channel [h]
  • n = Users outside the channel can not send PRIVMSGs to the channel [h]
  • O = IRC Operator only channel (settable by IRCops)
  • p = Private channel [o]
  • P = Permanent channel (the channel is not destroyed when empty) (settable by IRCops)
  • Q = No kicks allowed [o]
  • R = Only registered (+r) users may join the channel [h]
  • r = The channel is registered (settable by services only)
  • s = Secret channel [o]
  • S = Strips mIRC color codes [o]
  • T = No NOTICEs allowed in the channel [o]
  • t = Only +hoaq may change the topic [h]
  • V = /INVITE is not allowed [o]
  • x = Like +m (moderated) except ops and above will still see messages from non-voiced users, and nobody else in that channel.[o]
  • z = Only Clients on a Secure Connection (SSL/TLS) can join [o]
  • Z = All users on the channel are on a Secure connection (SSL/TLS) [server]
  • (This mode is set/unset by the server. Only if the channel is also +z)