Skip to content

Instantly share code, notes, and snippets.

@dolzenko
Last active August 13, 2017 18:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolzenko/5799177 to your computer and use it in GitHub Desktop.
Save dolzenko/5799177 to your computer and use it in GitHub Desktop.
IRC logging bot using irssi
$ mkdir -p ~/.irssi/scripts/autorun/
$ cd ~/.irssi/scripts/autorun/
$ wget http://wouter.coekaerts.be/irssi/scripts/trigger.pl
$ irssi
/server add -auto -network Freenode irc.freenode.net 6667
/channel add -auto ##channel Freenode
/SET autolog ON
/trigger add -joins -command 'exec -o tail -10 ~/irclogs/Freenode/\#\#channel.log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment