I’m Banned From My Own Channel

It’s easier than you might think to get banned from a channel you own or where you are a moderator. It may be that you didn’t identify quickly enough or services were down and you couldn’t identify. It’s even possible you or someone in the channel set a ban too wide. An asterisk wildcard in the wrong place is all it takes.

If you find yourself in this situation, this is the simplest way to remove the ban:

/msg ChanServ UNBAN channel

So if I were banned from #topgear, I’d use this command:

/msg ChanServ UNBAN #topgear

After that, you should be able to join the channel again.

You can also remove the ban the traditional way. Say you or someone banned your hostmask or vhost. You add a ban with +b, and you can remove it with -b. If you had accidentally banned yourself with this command:

/mode #topgear +b *!*@my.own.address.net

You could unban yourself by typing this command:

/mode #topgear -b *!*@my.own.address.net

As a third option, you can also try inviting yourself into the channel. Usually a channel invite will get around a ban. This command will also work if your channel is set to invite only and you cannot join.

/msg ChanServ INVITE channel

So if I wanted into the channel #topgear, I’d use this command:

/msg ChanServ INVITE #topgear

If none of these options work for you, come ask for assistance in #help!

 

—tengrrl

Extended Bans Tutorial

Silencing Users with Extended Bans

You can use extended bans to set up an alternative kind of ban that will give you more options, like silencing users.



When you silence a user, you allow the person to stay in the channel, but block the person’s ability to participate in the discussion or change nicks. It’s an online equivalent of a short timeout, where the person has to sit quietly for several minutes before rejoining discussion.



To silence a user manually, you’d type:

/mode #YourChannel +bb ~q:nick!ident@user.host ~n:nick!ident@user.host

That command sets two bans, which is why the host information is listed twice. The first one (~q:nick!ident@user.host) prevents the user from participating in the discussion (unless the user is +v or higher). The ~q stands for quiet. The second one (~n: nick!ident user.host) prevents the user from changing nicks. The ~n stands for nick.



In #YourChannel, bans are normally set by the user’s host, so an example ban would look like this:

/mode #YourChannel +bb ~n:*!*@protectedhost-1234578.hsd1.va.comcast.net 
~q:*!*@protectedhost-1234578.hsd1.va.comcast.net

That example bans anyone (with any nick or ident) with the hostmask protectedhost-12345678.hsd1.va.comcast.net.


 

Removing a Silence Extended Ban

If you silence a user manually, you have to remove the ban manually as well. Since you set the ban with +b, you will remove it by using the same command, but with -b. So to remove the ban, you would type:

/mode #YourChannel -bb ~q:nick!ident@user.host ~n:nick!ident@user.host

Everything is the same. You’re just removing the ban. Here’s the way to remove the example ban from above:

/mode #YourChannel -bb ~n:*!*@protectedhost-1234578.hsd1.va.comcast.net 
~q:*!*@protectedhost-1234578.hsd1.va.comcast.net
 

Setting a Channel Extended Ban

There are two other kinds of extended bans:

  • ~c sets an extended ban based on a channel users are in
  • ~r sets an extended ban based on a user’s real name

You are unlikely to need either of these bans, but for the sake of thoroughness here is how they work.



To set an extended channel ban, you’d type:

/mode #YourChannel +b ~c:#channel

That ban would prevent anyone in #channel from joining #YourChannel.



Let’s pretend there’s a channel called #YourChannelHaters. We might decide that we do not want anyone from #YourChannelHaters to join #YourChannel. We could use this extended ban to prevent them from joining #YourChannel:

/mode #YourChannel +b ~c:#YourChannelHaters

You remove this kind of ban by switching to -b, so I could remove the ban on folks from #YourChannelHaters like this:

/mode #YourChannel -b ~c:#YourChannelHaters
 

Setting a Real Name Extended Ban

To set an extended ban based on a user’s real name, you’d type:

/mode #YourChannel +b ~r:*real_name*

The * character works as a wildcard, just as it does in other bans. Use the underscore character ( _ ) to represent spaces in the user’s real name. The underscore is also interpreted as an actual underscore character. In other words, the ban above would block someone using either “real name” (with a space) or “real_name” (with an underscore).



Here’s an example:

/mode #YourChannel +b ~r:*Jane_Doe*

That ban would prevent anyone who was using the real name “Jane Doe” or “Jane_Doe” from joining #YourChannel. Because of the * wildcard, someone with a real name like “Jane Doe rules” or “Jane_Doe_rules” would also be banned.



You remove this kind of ban by switching to -b, so I could remove the ban on “Jane Doe ” like this:

/mode #YourChannel -b ~r:*Jane_Doe*
 

Tutorial written by tengrrl for GeekShed