Channel bans allow you to block someone from joining your channel. These bans offer a lot of flexibility, letting you ban someone in several different ways. This article will explain a simple ban. You can check the Extended Ban tutorial for additional options. You can also use the AKICK command to ban someone permanently.

To ban someone from your channel, you need to know the hostmask for the connection. Use the WHOIS command to get the details. For the user LordBaconCheeseburger, you’d use this command:

/whois LordBaconCheeseburger 

In your status window, you’ll see something like this in response:

LordBaconCheeseburger is ~TFlash@protectedhost-BACONYUM.hsd1.ze.comcast.net 
LordBaconCheeseburger is a registered nick
LordBaconCheeseburger on #jupiterbroadcasting #theshed
LordBaconCheeseburger using Komma.GeekShed.net Subwolf.org
LordBaconCheeseburger has been idle 3mins, signed on Fri Sep 28 21:00:28
LordBaconCheeseburger End of /WHOIS list.

You need the information from the first line to set your ban. The information listed after the @ symbol is the hostmask. To set a simple ban for your channel, use this command:

/mode #channel +b *!*@hostmask

If you wanted to ban LordBaconCheeseburger from the channel #topgear, for instance, you’d type:

/mode #topgear +b *!*@protectedhost-BACONYUM.hsd1.ze.comcast.net

That’s all there is to it. Anyone with that hostmask is now banned from #topgear. Next week’s post will explain more complicated channel bans, so be sure to come back!

—posted by Tengrrl/Bunny