Irssi and Aliases and Scripts, Oh My!

bnrubin | IRC, Ubuntu | Monday, June 23rd, 2008

I spend the bulk of my Ubuntu time in our IRC channels.  My client of choice is irssi, which might be a bit minimalistic for some users.  I find that with a rich set of scripts and aliases that its utility rivals that of any gui client.

Here are a few of my aliases from my ~/.irssi/config file:

CS = “/msg chanserv”;CSINFO = “/msg chanserv info $0″;

CSACCESS = “/msg chanserv access $0 list”;

CSOP = “/msg chanserv op $C $0″;

CSDEOP = “/msg chanserv op $C -$0″;

CSKICK = “CSREMOVE”;

CSBAN = “/msg chanserv op $C $N;/wait 50;/ban $0;/msg chanserv op $C -$N”;

CSMUTE = “/msg chanserv op $C $N;/wait 50;/mode +zq $0″;

CSKICKBAN = “/msg chanserv op $C $N;/wait 2;/remove $C $0 :$1-;/ban $0;/msg chanserv op $C -$N”;

CSUNBAN = “/msg chanserv op $C $N;/wait 50;/unban $0;/msg chanserv op $C -$N”;

CSTOPIC = “/msg chanserv op $C $N;/wait 50;/topic $0-;/msg chanserv op $C -$N”;

CSMODE = “/msg chanserv op $C $N;/wait 50;/mode $C $0 $1″;

CSMOD = “/CSMODE”;

CSINVITE = “/msg chanserv op $C $N;/wait 50;/invite $0;/msg chanserv op $C -$N”;

NS = “/msg nickserv”;

NSINFO = “/msg nickserv info $0″;

remove = “/quote remove”;

CSREMOVE = “/msg chanserv op $C $N;/wait 25;/remove $C $0 :$1-;/msg chanserv op $C -$N”;

CSRM = “CSREMOVE”;

CSKB = “CSKICKBAN”;

ubottu = “say !$0 > $1 (Please see the private messsage from ubottu)”;

bot = “ubottu”;

NICKSETUP = “say $0: Please make sure that you have followed *all* of the steps outlined at http://freenode.net/faq.shtml#nicksetup and then return here and ask a staffer to activate  your cloak. (I am not a staffer)”;

I originally found many of these aliases in Aaron Toponce’s blog, but they since been modified to fit Freenode changes and my own preferences.

In addition, here are some of the more important scripts that I have symlinked into ~/.irssi/scripts/autorun. Most of these can be found in the irssi-scripts package:

auto_away.pl

bantime.pl

chanpeak.pl

clones.pl

dictcomplete.pl

dns.pl

figlet.pl

format_identify.pl

notify.pl

screen_away.pl

trigger.pl

usercount.pl

Hello World

bnrubin | Ubuntu | Monday, June 9th, 2008

Well, it seems that the EMEA board was crazy enough to let me in here, so I might as well get this over with:

Hi, my name is Pici and I’m an Ubuntuholic.

Powered by WordPress | Theme by Roy Tanck