irssi script

As a freenode staffer and Ubuntu Operator, a frequent question that I am asked is, “Why can’t I join #channel?” or “Why can’t I talk in #chanel?”. To answer this question, I normally check the ban and quiet lists for #channel, and then I check what channel modes are applied. For small channels, this is not too bad, but for channels with very large ban/quiet lists, it can take some time. This is why I have created This irssi script will attempt to determine why a user is unable to join/talk in a channel.

Currently, the script is maintained in a Launchpad bzr branch. To get and install the script, run the following commands from your home directory.

bzr branch lp:~nhandler/+junk/bansearch
mkdir -p ~/.irssi/scripts/autorun
ln -s ~/bansearch/ ~/.irssi/scripts/
ln -s ~/.irssi/scripts/ ~/.irssi/scripts/autorun/

You can leave out the last command if you do not want the script to run automatically when you start irssi.

Using the script is quite simple. You can use it like this:

/script load
/bansearch nick [#channel]

If you do not specify a channel, it will use the current channel. The script will currently look for bans and quiets matching the user. It has some limited extban support, but it does not support CIDR bans. It also supports looking at channel modes that might prevent the user from joining/talking. The script knows whether the user is identified, so $a extbans, $~a, and cmode +r are all supported, and the script will only warn you about them if they match the user. The script was written for freenode, so while basic ban/quiet searching might work on other IRC networks, the channel mode checks will probably not work properly.

The script is still fairly new, so there are still bugs in it. If you find any, please let me know, and I will try and patch them as quickly as possible. I am also open to any feedback about how to improve the script.

This entry was posted in Planet Debian, Planet Ubuntu and tagged . Bookmark the permalink.

2 Responses to irssi script

  1. mampir di sini bro,
    kunjungi balik article-blogging

  2. this ban check sound good, nice job.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s