Using the trigger.pl script for irssi to implement a "/shitlist" command as seen in Cory Doctorow's Eastern Standard Tribe. Ian Meyer - ianmeyer@mac.com - 4/17/07 i) Introduction This is meant to be a how-to for configuring the trigger.pl script available at http://wouter.coekaerts.be/site/irssi/trigger to replicate the function of the "shitlist" command to obscure the messages sent by a specified user. Something like this: Trepan: /shitlist Gink-Go ##Gink-Go added to Trepan's shitlist. Use '/unshit Gink-Go' to see messages again Gink-Go: (from Eastern Standard Tribe by Cory Doctorow, craphound.com/est) 1) Get what you need! We're going to assume you're using the only command-line irc client worth mentioning, irssi, and you're using it in a standard configuration (or something reasonably close to standard). You'll need to go download trigger.pl, and put it in your ~/.irssi/scripts folder. Go get it here: http://wouter.coekaerts.be/site/irssi/trigger Next, we'll need to load trigger.pl. In irssi do a /script load trigger.pl Now that trigger.pl is loaded, we need to set it up. What this script allows us to do is to run a regexp on incoming text. We're going to tell it to replace any incoming text from certain people with [shitlisted] The commands that will initiate this behavior are as follows, next we'll merge them together into the '/shitlist $NAME' command, with '/unshit $NAME' to disable it. /notice $C $0 added to $N's shitlist /trigger add -name $0 -public -nocase -mask $0!*@* -regexp '^(.*)' -replace '[shitlisted]' So we'll add these together into an alias as so: /alias shitlist /notice $C $0 added to $N's shitlist; /trigger add -name $0 -public -nocase -mask $0!*@* -regexp '^(.*)' -replace '[shitlisted]' And to add /unshit, its simply: /alias unshit /notice $C $0 removed from $N's shitlist; /trigger del $0 When a trigger is added to trigger.pl, it is only for the current irssi session. Quitting and opening irssi will reset the trigger list. To make your shitlist persistant across irssi sessions, do: /trigger save Enjoy! ~Ian