IRC Hacks: 100 Industrial-Strength Tips & Tools

( 4 )


IRC (Internet Relay Chat) may very well turn out to be the world's most successful hack. In 1988, Jarkko Oikarinen wrote the original IRC program at the University of Oulu, Finland. As he says in his foreword, "IRC started as one summer trainee's programming exercise. A hack grew into a software development project that hundreds of people participated in, and then became a worldwide environment where tens of thousands of people now spend time with each other. I have found many of my friends through IRC and learnt...

See more details below
Other sellers (Paperback)
  • All (14) from $1.99   
  • New (8) from $4.67   
  • Used (6) from $1.99   
IRC Hacks: 100 Industrial-Strength Tips & Tools

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$13.49 price
(Save 43%)$23.99 List Price


IRC (Internet Relay Chat) may very well turn out to be the world's most successful hack. In 1988, Jarkko Oikarinen wrote the original IRC program at the University of Oulu, Finland. As he says in his foreword, "IRC started as one summer trainee's programming exercise. A hack grew into a software development project that hundreds of people participated in, and then became a worldwide environment where tens of thousands of people now spend time with each other. I have found many of my friends through IRC and learnt a significant part of my present software engineering knowledge while using and working with IRC. That would not have been possible without learning from code examples and hacks from others".IRC has continued to grow in popularity since its inception. Millions of people from all over the world now use IRC to chat with friends, discuss projects and collaborate on research. With a simple, clearly defined protocol, IRC has become one of the most accessible chat environments, with clients written for a multitude of operating systems. And IRC is more than just a simple chat system it is a network of intercommunicating servers, allowing thousands of clients to connect from anywhere in the world using the IRC protocol.While IRC is easy to get into and many people are happy to use it without being aware of what's happening under the hood, there are those who hunger for more knowledge, and this book is for them. IRC Hacks is a collection of tips and tools that cover just about everything needed to become a true IRC master, featuring contributions from some of the most renowned IRC hackers, many of whom collaborated on IRC, grouping together to form the channel #irchacks on the freenode IRC network ( all of our Hacks books, there are many different ways to use IRC Hacks. You can read the book from cover to cover, but you might be better served by picking an interesting item from the table of contents and just diving in.If you're relatively new to IRC, you should considering starting with a few hacks from each progressive chapter. Chapter 1 starts you off by showing you how to connect to IRC, while Chapter 2 acquaints you with the everyday concepts you'll need to use IRC effectively. Chapter 3 is all about users and channels, and introduces the first pieces of code. Chapter 4 shows you how to make useful enhancements to IRC clients.Chapter 5 is where you will learn the basics about creating IRC bots, with Chapters 6-12 introducing more complex bots that can be used for logging, servicing communities, searching, announcing, networking, managing channels or simply for having fun. Chapter 13 delves into the IRC protocol in more detail, and Chapter 14 demonstrates some interesting alternative methods for connecting to IRC. Finally, Chapter 15 will move you on to new pastures by showing you how to set up your own IRC server.This book presents an opportunity to learn how IRC works and how to make best use of some of the features that have made it the most successful, most scalable, and most mature chat system on this planet. IRC Hacks delves deep into the possibilities.

Read More Show Less

Product Details

  • ISBN-13: 9780596006877
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 8/20/2004
  • Series: Hacks Series
  • Edition number: 1
  • Pages: 436
  • Sales rank: 1,239,856
  • Product dimensions: 6.02 (w) x 8.96 (h) x 0.90 (d)

Meet the Author

Paul Mutton is a PhD student at the University of Kent in the UK, frantically trying to finish off his thesis at the same time as writing this book. He previously graduated with first class honors in Computer Science, winning the IEE Institution Prize for being the best overall student in his department. He uses IRC to collaborate with researchers in other countries and to talk to people in his office when they have their headphones on. In his remaining spare time, he uses his Sun Certified Java Programmer skills to develop all sorts of open source software on his personal web site ( Some of his research has culminated in the creation of the popular PieSpy application (, which infers and visualizes social networks on IRC, and even appeared on slashdot once. He can normally be found jibbling around in #jibble and #irchacks on the freenode IRC network with the nickname Jibbler, or Paul on smaller networks.

Read More Show Less

Table of Contents

About the Author;
Why IRC Hacks?;
How to Use This Book;
How This Book Is Organized;
Conventions Used in this Book;
Using Code Examples;
How to Contact Us;
Got a Hack?;
Chapter 1: Connecting to IRC;
1.1 Introduction: Hacks #1-4;
1.2 IRC from Windows;
1.3 IRC from Linux;
1.4 IRC from Mac OS X;
1.5 IRC with ChatZilla;
Chapter 2: Using IRC;
2.1 Introduction: Hacks #5-11;
2.2 The IRC Model;
2.3 Common Terms, Abbreviations, and Phrases;
2.4 Common Acronyms and Initialisms;
2.5 Register with NickServ;
2.6 Register Your Channel with ChanServ;
2.7 The QuakeNet L Channel Bot;
2.8 Fix Channel Problems with CHANFIX;
Chapter 3: Users and Channels;
3.1 Introduction: Hacks #12-16;
3.2 Find Relevant Channels and Servers;
3.3 Guess the Time Zone of a User;
3.4 Study Channel Statistics with pisg;
3.5 Find Users in Channels;
3.6 Filter Channel Lists;
Chapter 4: Enhancing IRC Clients;
4.1 Introduction: Hacks #17-30;
4.2 Automatic Completion of Nicknames;
4.3 Add Timestamps to mIRC Messages;
4.4 Highlight Lines in mIRC;
4.5 Automate mIRC with Scripting;
4.6 Format Text;
4.7 Colorize Text;
4.8 Play Sounds;
4.9 Enhance irssi with Perl;
4.10 Connect to Multiple Servers;
4.11 Secure Your IRC Connection with SSL;
4.12 Tunnel Your IRC Connection with SSH;
4.13 Automate Voice Management;
4.14 Make IRC Talk;
4.15 Add Your IRC Nickname to Your Webcam;
Chapter 5: Writing IRC Bots;
5.1 Introduction: Hacks #31-39;
5.2 IRC Over Telnet;
5.3 A Simple Perl IRC Client;
5.4 IRC with Perl and Net::IRC;
5.5 A Simple Java IRC Client;
5.6 IRC with Java and PircBot;
5.7 A Simple Python IRC Client;
5.8 IRC with Python and IRCLib;
5.9 Extend the Python IRCLib;
5.10 The Ethics of IRC Bots;
Chapter 6: Logging Bots;
6.1 Introduction: Hacks #40-43;
6.2 Keep Tabs on People;
6.3 Log URLs People Mention;
6.4 Blog from IRC;
6.5 A Continuity Bot;
Chapter 7: Community Bots;
7.1 Introduction: Hacks #44-50;
7.2 Infer Social Networks from IRC;
7.3 Run an Infobot;
7.4 Use PPF for Gaming Clans;
7.5 Write a Plug-in for PPF;
7.6 Getting Friendly with FOAFBot;
7.7 Interrogate Trust Networks with TrustBot;
7.8 Pass Notes to Other Users;
Chapter 8: Search and Query Bots;
8.1 Introduction: Hacks #51-57;
8.2 Search the Web with Google;
8.3 Use the Dictionary;
8.4 Check the Weather;
8.5 Don’t Get Lost in Translation;
8.6 Convert Currency;
8.7 Find Out When People Are on the Network;
8.8 Search for Books on Amazon;
Chapter 9: Fun Bots;
9.1 Introduction: Hacks #58-63;
9.2 A DiceBot;
9.3 An Egg Timer;
9.4 A Trivia Bot;
9.5 Perform Feats of Math;
9.6 An Artificial Intelligence Bot;
9.7 Create Comic Strips;
Chapter 10: Announcement Bots;
10.1 Introduction: Hacks #64-67;
10.2 Welcome Visitors Automagically;
10.3 Announce Newsgroup Posts;
10.4 Feed Syndicated RSS News;
10.5 Watch Online Games with MatchEd;
Chapter 11: Network Bots;
11.1 Introduction: Hacks #68-72;
11.2 Link Channels on Multiple Networks;
11.3 Get a Remote Shell;
11.4 Tail Log Files;
11.5 Bridge Two Infobots;
11.6 A File-Sharing Bot;
Chapter 12: Channel Management Bots;
12.1 Introduction: Hacks #73-77;
12.2 Protect the Channel Topic;
12.3 Invite Users into Channels;
12.4 Maintain Operator Status;
12.5 Set Up an Eggdrop Bot;
12.6 Manage Channels with an Eggdrop;
Chapter 13: The IRC Protocol;
13.1 Introduction: Hacks #78-85;
13.2 Understanding the IRC Protocol;
13.3 Text Over Multiple Lines;
13.4 Fake an Ident Response;
13.5 Strip Formatting from Messages;
13.6 Remove Color from Messages;
13.7 Encrypt Messages;
13.8 Timestamp with the TS Protocol;
13.9 Understanding CTCP Messages;
Chapter 14: Other Ways to Connect to IRC;
14.1 Introduction: Hacks #86-94;
14.2 Hypertext Links to IRC Channels;
14.3 IRC from Your Mobile Phone;
14.4 Enemies of Mobile IRC;
14.5 IRC from a Pocket PC;
14.6 Access IRC with Java Applets;
14.7 Use IRC from a Web Page Without Java;
14.8 Use IRC Within screen;
14.9 Set Up an IRC Proxy;
14.10 Use irssi and Its Proxy;
Chapter 15: Servers and Services;
15.1 Introduction: Hacks #95-100;
15.2 Set Up Your Own IRC Server for Unix/Linux;
15.3 Install Services;
15.4 Set Up Your Own beware ircd Server;
15.5 Link Two IRC Servers Together;
15.6 Use MSN/ICQ/Jabber from IRC;
15.7 Combine BitlBee and CtrlProxy;

Read More Show Less

Customer Reviews

Average Rating 2.5
( 4 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Anonymous

    Posted January 15, 2013


    Its not called 'google' for nothing.......

    0 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 25, 2005

    Book Review: 'IRC Hacks'

    IRC Hacks 100 Industrial-Strength Tips & Tools By Paul Mutton First Edition July 2004 Series: Hacks ISBN: 0-596-00687-X 432 pages, $24.95 I found this book to be fairly interesting and somewhat useful. Being quite familiar with IRC already, some of the introductory material was information that I already knew, but I did learn a few things about the more technical aspects of the IRC protocol and IRC servers/networks. Much of this book has to do with writing and using IRC channel 'bots', which I think most casual IRC users would not be all that interested in. The first four chapters introduce what IRC is, and how to connect to an IRC network and begin chatting with others. Various IRC client applications are described, including the most popular ones for Linux, Mac, and Windows. Other topics here include how to register your nickname, configuring your client, how to join servers/channels, and some nice customizations to add functionality and enjoyment to your use of IRC. I would think that these first chapters would be very useful to a newcomer to IRC, and allow them to get up and running quickly. Chapter 5 introduces the concepts of 'bots', and how to write your own bots in various languages, including Perl, Python, and Java. Some of it is fairly technical, and may appeal mostly to programmers and more serious IRC 'hackers'. Also mentioned is the idea of bot 'ethics' and the policies that many IRC networks have regarding their use. The next several chapters (6 - 12) provide numerous ideas and examples of making and using your own bots. IRC bots can perform many functions, some of which can be very useful, and others that have primarily an entertainment value. Much of the content of these chapters is actual code examples for many different types of bots, including Logging, Social, Search & Query, Announcement, Network and Channel Management, and Fun bots. Chapters 13 - 15 go a little further into the technical side of how the IRC protocol works, encryption, web access to IRC, and even how to run your own IRC server. Many readers will find these subjects more complex than they care to get involved in. Overall, I think this book is best suited to IRC users who are somewhat more than beginners, and are fairly technically oriented. I was surprised by the large amount of bot programming examples, which actually make up the majority of the book. I am not sure there will be that many users who really want to code their own bot. The first few chapters are helpful for IRC beginners, although there are probably better books for that purpose. I did get some ideas for modifying an existing bot, which I presently use occasionally in our LUG's IRC channel for entertainment (trivia contests). All in all, this title is best suited for more experienced users who may enjoy programming and 'hacking' around with IRC bots.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted September 8, 2004

    social networking on IRC?!

    Four years before the Web burst onto the scene with Mosaic, there was IRC. At first, IRC was mostly for bulletin board users. But as the Web took off, it also greatly expanded the pool of users and the extent of the Internet's physical reach. Now Mutton shows how today's IRC has so much more than that 1988 version. Being able to format messages, or colour them. Hey, you can even send and get sounds, in various common sound formats like wav files. Numerous of his hacks revolve around managing an IRC channel. Problems of success, really. As IRC usage soared, what were once small communities of shared interests and values now often have to contend with others with different values. Channel operators may want to check out what Mutton offers. Perhaps the most intriguing hack concerns finding social networks from many channels. Neat possibilities. Social networks are quite hot these days, though no one has yet found a viable business model centred on them.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted September 3, 2004

    expensive and worthless

    Many of these 'hacks' are standard features of various irc clients. Most of the rest are either scripts for the same or simple irc bots. If you can understand what's offered in this section then you already know scripting language or can write an irc robot program or both. If you can't understand it then this book won't help you to understand it. Among the many worthless 'hacks' offered is one that translates gibberish in 'Kenny-speak' to read 'OMG, they killed Kenny!' The only bigger moron than one who would seriously offer this as a useful 'hack' is one who would buy it. Regretably, this includes me. Don't you make the same mistake. Instead you could hope for an updated edition of The Book of IRC by Alex Charalabidis or Advanced Internet Relay Chat by Kathryn Toyer. Even better, a book explaining and elaborating on mIRC scripting should be written.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)