Difference between revisions of "Ban"

From Mibbit Wiki
Jump to: navigation, search
m
m (See Also thing.)
Line 1: Line 1:
{{stub}}
 
 
 
{{faq|Channel bans do not have a certain expiry time.  Operators have to remove the bans themselves, at their own discretion.}}
 
{{faq|Channel bans do not have a certain expiry time.  Operators have to remove the bans themselves, at their own discretion.}}
  
Line 72: Line 70:
  
 
     /mode #chan +b r:<realname>
 
     /mode #chan +b r:<realname>
 +
 +
== See Also ==
 +
 +
* [http://t0x.in/ircbans.html] - A more fleshed out article on bans.
  
 
[[Category:How To]][[Category:IRC]][[Category:Commands]][[Category:Unreal]]
 
[[Category:How To]][[Category:IRC]][[Category:Commands]][[Category:Unreal]]

Revision as of 20:27, 31 July 2009

Channel bans do not have a certain expiry time. Operators have to remove the bans themselves, at their own discretion.


This page is lacking a lot of information when it comes to server lines. Feel obliged to add some. Copy-pasting is not adding information.

A ban is a method of keeping users from returning to a specific channel or server.

Channel Bans

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 remove a ban, either use the IRC command of /mode #chan -b nickname!username@hostname or the Mibbit client default alias of /unban nickname!username@hostname or /deban 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.

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}

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

Though not recommended, as it can be done using a normal ban using the format:

   /mode #chan +b *!<realname>@*

A realname ban does exactly that, except that underscores (_) are treated also as spaces ( ). For UnrealIRCd, the format is:

   /mode #chan +b r:<realname>

See Also

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