From Mibbit Wiki
Revision as of 21:53, 29 August 2009 by Havvy (talk | contribs)
Jump to: navigation, search
Channel bans do not have a certain expiry time. Operators have to remove the bans themselves, at their own discretion.

A ban prevents someone from joining a specific channel.


To remove a ban, see Unban.

Banning in channels are done most commonly with the channel mode +b.

The IRC command for banning is:

   /mode #chan +b nickname!username@hostname.  

To make this easier, the Mibbit client has a default alias of /ban nickname!username@hostname.

To view the banlist, use the command /mode #chan +b or just /ban<space><enter> (if you are in the channel). A list of banned users is shown in the form of:

    [cancel ban button] [nickname!username@hostname] [operator who banned] [time of ban]

If there are ops that are new to IRC, they may accidentally ban the entire channel by banning *!*@*. To easily recover from this, users can make sure certain hostmasks for unable to be banned with the channel mode +e. To use, find out what the hostname of the person is, and use the command /mode #chan +e *!*@hostname. Mode +e is 'exception', and if a hostmask matches one on the exception list, the user cannot be banned.

You must be a channel operator, half-operator, super-operator (or admin as called on the Mibbit client and UnrealIRCd), owner, or founder to set these modes. The chanserv modes for these are +h, +o, +s, and +q.

Ban Types

Some servers allow for special types of bans. This subsection entails what they are, and how to use them on those servers.

Quiet Ban

This ban type makes it so that any users with a specific hostmask cannot send messages, but can receive them in the channel they are banned. They can also join and part at will. To issue a quiet ban on UnrealIRCd, use the following format:

    /mode #chan +b ~q:nickname!username@hostname

Nickchange Ban

This ban type makes it so that any users with a specific hostmask cannot change their nick while in the channel, but can still talk. They can join and part at will. To issue a nickchange ban on UnrealIRCd, use the following format:

   /mode #chan +b ~n:nickname!username@hostname

In Other Channel Ban

Do you not like those in one channel also being in your channel. On UnrealIRCd, you can prevent that using a special type of ban. To use it, use the following format:

   /mode #chan +b ~c:#badchan

Users can prefix power modes before (+, %, @, &, and ~ for voice, halfop, op, admin, and owner respectively) it for it to work on those of that power or higher. If one wishes to ban those that have less than a certain mode on a certain channel, they can use the following format:

 /mode #chat +eb ~c:<prefix>#chan  ~c:#chan

Realname Ban

A realname bans on real name and underscores (_) are treated also as spaces ( ). For UnrealIRCd, the format is:

   /mode #chan +b r:<realname>

Set a Ban with ChanServ

This section is convoluted. If you can make it not so convoluted, feel free to. To all other users, it is suggest not to read this.

You may wish to set a ban using ChanServ. Depending on the SIGNKICK settings of your channel this might mask which op set the ban (explained further below.) To set the ban type: /cs ban #channel nick reason If nick is not given, it will ban you. If channel and nick are not given, it will ban you on all channels you're on, provided you have the rights to. By default, limited to AOPs or those with level 5 access and above on the channel.

SIGNKICK Enables or disables signed kicks for a channel. When SIGNKICK is set, kicks issued with the ChanServ KICK or BAN commands will have the nick that used the command in their reason. If you use LEVEL, those who have a level that is superior or equal to the SIGNKICK level on the channel won't have their kicks signed. The command to set SIGNKICK is: /msg chanserv set #channel signkick {ON | LEVEL | OFF}

See Also

  • [1] - A more fleshed out article on bans.