Channel Modes

Syntax:

/mode #channel +/- mode(s)

Contents:

  1. Mode +b
  2. Mode +D/+d
  3. Mode +i
  4. Mode +k
  5. Mode +l
  6. Mode +m
  7. Mode +n
  8. Mode +o
  9. Mode +p
  10. Mode +R
  11. Mode +r
  12. Mode +s
  13. Mode +t
  14. Mode +v
  1. +b: Ban a user or group of users.

    +b stands for ban and allows a channel operator to deny a person (or a group of people) access to the channel. Or, if someone is banned while in the channel, they will not be able to talk.

    Syntax:

    /mode #channelname +/-b [hosts]
    Example:
    /mode #Help +b *!*@annoying.pest.com

    If you don't specify any hosts, you will be shown a list of channel bans, even if you're outside the channel.

  2. +D/+d

    If a channel is set to +D users joining the channel wont be shown until something "happens to them". This means, a user joins the channel and remains "hidden" till he speaks, gets opped/voiced etc. Only at this point the join will be displayed. This mode is to prevent the disruption of channel discussions where lots of users are joining.

    If the channel is set to -D again and there are still "hidden" users left, the server will set mode +d until the last one is visible or left the channel.

    "Hidden" users are shown by /names -d #channel.

    If you /whois a user who is in a channel with +D set and the user is not "visible" there yet, you'll see that channel prefixed by a < sign. i.e. <#delaychannel NOTE: mode +D isn't available on all servers yet, it will come with ircu2.10.12

  3. +i

    Setting a channel to invite only will only allow those who have been invited to the channel (with the /invite command) to join the channel.

  4. +k

    The key of the channel is like a password that you must specify in your /join command when attempting to enter the channel. If the key is incorrect or if no key is specified then you will be denied access to this channel.

    Syntax:

    /mode #channelname +/-k key

    Example:

    /mode #Help +k khaled

    Anybody joining the channel will need to use the /join #channelname key command. In the example case, the syntax would be:

    /join #Help khaled
  5. +l

    The channel limit allows you to specify the maximum number of users who can be in the channel at a time. Once this number has been reached, anyone who attempts to join the channel will receive an error message of the channel being full.

    Syntax:

    /mode #channelname +/-l number

    Example:

    /mode #Help +l 25
  6. +m

    Only ops and voiced people can talk. A moderated channel only allows the ops (@) and voices (+) to send messages to the channel. All other messages will be blocked. Anyone who is present in a moderated channel and who is not an op or voice there will also be prevented from changing their nickname.

  7. +n

    The +n stands for no external messages. If +n is not set then it's possible for someone to send messages to the channel even if they are not present inside the channel.

  8. +o

    To op someone. A channel operator is designated by the @ next to their nick.
    Channel Operators can change the channel modes, kick users and may also give and remove Ops.
    be careful, only op ppl you really trust, as soon as they're opped they may do everything to the channel including deopping you!

  9. +p

    A private channel

    • is not shown on the /whois output unless the person requesting the /whois is also on the channel.
    • wont give a /names #channel reply unless the person requesting the /names #channel is also on the channel.
    • gives a reply to /who #channel for persons in the channel that aren't set to +i ("invisible") even when the person requesting the /who #channel is not in the channel.
    • will show the /topic #channel even when the person requesting the /topic #channel is not in the channel.
    • doesn't show up in a /list unless the person requesting the /list is also in the channel.
  10. +R

    This mode indicates a channel is registered, and it will be operable once u2.10.12.pre13 is running on all servers. This mode will enable basic communication between X and C; in all registered channels, X will set +R, enabling C to know not to act on that channel.

    Pre-u2.10.12.pre13, C identifies a registered channel by the presence of X on the channel. This means C is incorrectly acting on registered channels where X isn't on the channel for some reason. This mode will also make it easier for users and possibly other services to easily identify a registered channel without having to /msg X.

    This mode can only be set by X, not by channel operators.

  11. +r

    +r is a channel mode where only users who are logged into X (i.e. have a registered username) can join the channel.

    Syntax:

    /mode #channel +/-r

    The +r channel mode can be overridden with an invite to a +r channel.

  12. +s

    A secret channel

    • is not shown on the /whois output unless the person requesting the /whois is also on the channel.
    • wont give a /names #channel reply unless the person requesting the /names #channel is also on the channel.
    • wont give a /who #channel reply unless the person requesting the /names #who is also on the channel.
    • wont show the /topic #channel unless the person requesting the /topic #channel is also on the channel.
    • doesn't show up in a /list unless the person requesting the /list is also in the channel.
  13. +t

    No one but the ops can change the channel topic.

  14. +v

    Voice someone. When a channel is moderated ( +m ), only the channel ops and the channel voices can send messages to the channel. Only channel ops can add or remove voice.