Tag: irc

irssi is a command-line IRC client. When properly configured, it can automatically reconnect and re-identify to channels without any user intervention. It is ideal for use within a reliable server shell, where your session is maintained between uses.

Open any scripts you decide to use with a text editor and read the first few lines. Some scripts require configuration to be used properly. For example, you will need to set your email address to have private messages emailed to you.

To start a script automatically, create a symbolic link to it in
~/.irssi/scripts/autorun/

1

2

3

4

5

6

mkdir ~/.irssi/scripts/autorun

cd ~/.irssi/scripts/autorun/

ln -s ../ascii.pl ascii.pl

ln -s ../autoaway.pl autoaway.pl

ln -s ../email_privmsgs.pl email_privmsgs.pl

ln -s ../nm.pl nm.pl

If you prefer to start your scripts manually, or irssi is already running and you don’t want to restart it, use
/script load scriptname.pl

Step 4 – Configure irssi

The following is my
.irssi/config file. Add your commonly used networks and enter your personal information. If you decided against zenbarn, set the theme attribute to the your custom theme.

screen keeps a shell running even after you’ve disconnected from it. If you’re running irssi locally, you may not need to use screen. Enter the single command screen and read any information it prints. Once you are prompted for a command, start irssi by entering irssi

There is already an excellent guide on using irssi with screen, so I will only go over the basics below.

Detach from the screen and return to your normal shell with Control+A, then press D