Blitzed.org

Scripting Irssi

From Blitzed

Jump to: navigation, search

I (dg) have written a script to display Chatops and Global notices in a seperate window in Irssi. You can get the script at http://irssi.dgl.cx/older/bahamut.pl, to use it create an empty window /window new hide and do /window name Notices in it, you can use /layout save to make this stay between sessions.

Other very interesting irssi scripts which may be helpful for opers can be found at http://irssi.dgl.cx

Contents

[edit] Useful aliases

This one allows you to easily add a short akill on a hostname (say the user is spamming).

/alias qakill /os akill add +6h *@$0-

This one saves you having to type /quote chatops.

/alias chatops /quote chatops :$0-
--phil, dg

[edit] More useful aliases

Quick services shortcuts

/alias cs /quote cs $0-
/alias ms /quote ms $0-
/alias ns /quote ns $0-
/alias os /quote os $0-

dg invented an irssi script to have tab completion in services commands which could be also very helpful. You can find it at http://irssi.dgl.cx/services-tab.pl

"onotice" and "ovnotice" goes to all channel ops and all channel ops/voice respectively (useful for #help)

/alias ono /notice @$C $0-
/alias ovno /notice @+$C $0-

[edit] Highly recommended

dg's akill.pl will set akills on *@host given just a nickname. First it checks for the nickname in all channels you are in, secondly it tries a /userhost to find it. Finally if those fail, it does /whowas. Examples of use:

/akill spammernick Spamming not permitted on Blitzed

Will akill *@theirhost for 6 hours (default).

/akill +12h repeatspammer Spamming not permitted on Blitzed

The same but for a given time period

--phil, grifferz

[edit] Reformatting server notices

I've adapted garion's ho-reformat.pl a little for Blitzed purposes. I'm still cleaning it up, but if you are interested in a script for splitting typical Blitzed server notices into 5 or so different windows, let me know.

--grifferz

This is an extremely useful script and comes highly recommended. It means you never miss a thing. I used grifferz' data file and slightly modified it; if you're interested, please let me know (though it'll need more modification for Bahamut 1.8, which I'm working on).

sonorous

[edit] Another Operchat script

I've combined dg's bahamut.pl and the ho_operwall.pl to a script that displays LocOps and ChatOps messages in two different irssi windows and allows to send messages from those two. You'll need the HOSC Perl module in your module path to get this working (e.g. put it into ~./irssi/scripts). Grab the script from my homepage: http://www.oliverpajonk.de/irssi/mm_operchat.pl

--mailman
Personal tools