This is an (todo:illustrated) guide of how to use your IRC client, it will only touch those portions of the setup process which are relevant for the purpose. This guide will try to cover 3 IRC clients, namely:
- irssi (One of the oldest, most mature and widely used clients, cli-only, *nix-only) (Personal Fav!)
- XChat (Desktop GUI client, hassle free, free for Linux, paid for Windows)
- Chatzilla (Browser based addon, really easy to install, simple to use, free everywhere)
Short FAQ
So before you go further, this is a really short faq so that what follows has some semblance of order.
- Q: What is IRC? Answer: IRC stands for Internet relay chat, it basically refers to the entire system of global Servers, clients and people chatting online in global chat rooms. For the more curious, technical and boring among you here’s the relevant RFC.
- Q: What is this Freenode I keep hearing/reading about? Answer: Freenode is one of the most popular IRC servers online. Basically, you connect to an IRC server and join an IRC channel on that server and then talk to people there.
- Q: What are these weird channel things that look like #this-is-weird I keep hearing/seeing? Answer: The #things looking thing you see is called an IRC channel , once you connect to a server, you need to join a channel which in crude terms is the equivalent of a chat room.
I. Download your favourite IRC Client
IRSSI Install
- For Fedora, CentOS users
sudo yum install irssi
- For Ubuntu, Debian users
sudo apt-get install irssi
orsudo aptitude install irssi
- Other Linux distributions might want to use their respective package managers.
XChat Install
- For Fedora, CentOS users
sudo yum install xchat
- For Ubuntu, Debian users
sudo apt-get install xchat
orsudo aptitude install xchat
- Windows users can download the .exe from here
- Other Linux distributions might want to use their respective package managers.
Chatzilla Install
- Fireup firefox, go to the Chatzilla Plugin Page
- Click the big green Add to Firefox button to install.
II. Fireup your IRC client
- irssi users can open up a terminal and type
irssi
. - xchat users can open xchat via their GUI, or type
xhcat
in the Run Dialog box (the one you get by hitting<Alt>+F2
). - Chatzilla users can open chatzilla from the Tools menu in firefox.
Tools > Chatzilla
.
III. Quick Connect
Before we go into lengthy nick registrations, complex commands and so on let’s just quickly connect to a server and join a channel, since this is what will suffice for most people anyway. There’s a bunch of commands you need to type, they’re the same more or less across the board. Ignore/close any dialogbox/popups you get for time being.
/nick TestUserOnALearnersLicense
/server irc.freenode.net (or whatever your server's URI is)
/join #python (or whatever channel you wish to join)
And that’s about it.
Note to the reader: If this setup suffices for you then you can close this tab and leave right now, these are the basics and you can now hit the ground running. The rest of this document details other things that you will find are worth your while during your stay in the world of Relay-Chats, so you still might want to go through the rest of it anyway.
IV. Detailed Connection
TODO. This section will provide a slighty more detailed, client specific and less hand-wavy guide when it’s done. Just make-do with Quick Connect for now please? (wink)
V. List of really fequently used commands
/nick your_nick
: Change your IRC nick./server your.server.url
: Connect to a server./join #channel-name
: Join a channel./quit
: Quits. Obviously./msg someone_else's_nick Hi
: Private message someone. (This opens up a new window once the other party responds)/away afk
: mark yourself as away citing the reason as “afk”. It’s curteous to mark yourself as away, when you’re not around./away
(or/back
) : An away command without an explanation marks you as not-away./names
or/userlist
to get a list of users on the current channel.
Caveat: xchat is silly and doesn’t use the
/away reason
,/away
toggle strategy, instead it uses the/back
command to mark you as back, form an/away
.
VI. List of common servers
Freenode isn’t the only IRC server there is, there are bunch of others. I’m listing out a few so that people aren’t confused when they go to freenode and don’t find the channel they’re looking for. You might need to join the correct server.
VII. Registering your Nick
Why?
Nick registration serves a bunch of purposes, namely:
- It gives you an identity, people can recognize you from.
- You can join channels that require a registered nick, #python, #fedora are examples.
- It safegaurds and reserves your nick (the one thing people identify you with) on IRC, so that people always know it’s you they’re talking to.
How?
Like everything else in IRC, it’s just a bunch of commands, you just need to run the commands to register your nick once for a given server. (Say freenode) This is the general list of steps you need to follow to register your nick on most servers:
- Think of a nick, switch to that nick.
/nick <nick of your choosing>
Caveat: If the server says something to this effect: “This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify .” It means the nick you chose is already registered to someone else, please try a different one before proceeding.
- Now that you’ve picked a nick, you need to tell the server ‘Nick-incharge’ aka
NickServ
that you want to register this nick for yourself, you can do this by doing:/msg NickServ register your_password your_email
Caveat: Your IRC password is stored/transmitted/shown in plaintext, therefore please refrain from using an existing password that you’ve also used for other accounts.
- The IRC server should have sent you an email with a confirmation code and a command, simply copy paste that command into your IRC and hit
Enter
. You should get a confirmation fromNickServ
saying your nick is now registered. - If everything goes well, your nick should now be registered. You should now get a message from
NickServ
saying:
This nickname is registered. Please choose a different nickname, or identify via
/msg NickServ identify <password>
Now every time you connect to the server with your nick, you’ll want to identify your nick with the server, to do so you’ll need to run the following command:
/msg NickServ identify your_password
NickServ should now tell you something like: “You are now identified for your_nick”
VIII. IRC Etiquette
There’s some basic etiquette that’s considered in good taste, keeping it in mind, and using your common sense, will usually save you from commiting a faux pas. The list:
- Please don’t expect an immediate response, waiting times vary from 15 minutes to over 24 hours at times depending on channel traffic, timezone and holidays, weekends and so on. If you’ve got things to do, let the IRC client run in the background and carry on with your other work. .
- Pls dnt typ lyk dis!!!1 , You won’t be taken seriously. Ever. .
- Don’t PM (i.e
/msg some_user
) without asking for the user’s prior permission on the channel, it’s considered rude by some people and generally not welcome without good reason. . - Be considerate of other people’s time-zones. The US is roughly
11:30 to 13:30
hours behind Indian Standard Time, Europe is roughly4:30 to 6:30
hours behind IST, while Japan is roughly2
hours ahead. What’s morning for you is probably not for the rest of the world, act accordingly.
IX. Follow-up
Automation
Almost all of the setup Nick, UserName, identify with NickServ
can be automated in any decent IRC client. So that you don’t have to type the bunch of commands everytime.
“That shall be left as an excericse to the user.”
Note: for those of you who’ve decided to use irssi, I’ve got the setup procedure outlined here.
Please let me know of any discrepancies, typos you might find. Suggestions for improvement always welcome.
Date: 21 January, 2014.
Author: Anhad Jai Singh