I am using the irssi client for IRC chat, and I would like to know how to configure the ~/.irssi/config
file so that I can put in my username and password (I have a registered nickname in the IRC).
Also, I'd like to know if I can configure it to open multiple terminals (as in gnome-terminal windows) to connect to different channels like #ubuntu, #ubuntu-in, etc. Or should I alias the command with different parameters so as to connect to different channels from different terminals?
Best Answer
You've asked a lot of questions in one, but I'll help you with as many of them as I can.
First, you need to add your IRC server of choice - fire up irssi, and type the following:
/server add -auto -network Freenode irc.freenode.net 6667
That will add the Freenode IRC network to your IRSSI config, and will automatically connect when you run
irssi
./network add -nick <your-nick> Freenode
That will add your nick to the new
Freenode
network, and will automatically use that nick whenever connecting to the network./channel add -auto #ubuntu Freenode
That will make you join
#ubuntu
on Freenode everytime you run irssi.Assuming you have your nick registered, you can do this to identify automatically:
/network add -autosendcmd "/msg nickserv identify password ;wait 2000" Freenode
You can switch between channels with Alt-2, Alt-3, etc, with each channel being Alt-Number
If you're interested, here is my
~/.irrsi/config
file:If you're someone who likes to add all sorts of cool functionality, then you should take a look at the irssi scripts site - there are all sorts of little gems there.