2.2 The IRC protocol (RFC1459)
You are proberbly using a program like mIRC in Windows,
X-Chat in X11 or BitchX in
Linux to connect to an IRC server, but what exactly does that program do?
These programs send special commands to the IRC server to make sure that what you type arrives at the
correct destination. If you are going to write TCL scripts which have to send information to someone through a
message, notice, ctcp or something else you can not simply do something like notice <nickname> <message>.
You would have to send the specific command to the IRC server just like mIRC, X-Chat and BitchX do, so you will
also need to know a bit about how an IRC server interacts with IRC clients if you want to accomplish your goals.
While you are reading this guide you will learn what the
most commenly used commands are and how to use them. They
aren't very difficult so don't worry about that or what they
exactly are. If you are familiar with RFC protocols and understand
what they say, you can do a search on RFC1459.txt and read
it to learn more about the IRC protocol. Appendix
A also discusses various IRC server commands.