Skip to Content
IRC Hacks
book

IRC Hacks

by Paul Mutton
July 2004
Intermediate to advanced
432 pages
11h 15m
English
O'Reilly Media, Inc.
Content preview from IRC Hacks

Chapter 10. Announcement Bots

Introduction: Hacks #64-67

IRC bots are ideal for making announcements. They can happily sit there and wait for an event to happen without getting bored. Furthermore, when a bot makes an announcement, it will never get involved in the subsequent debate that ensues.

The first hack in this chapter shows you how to make a simple bot that welcomes users to your channel. The hacks steadily become more complex, showing you how to announce the appearance of new newsgroup posts and news items found in RSS feeds. The final hack shows you how to use MatchEd to monitor the progress of multiplayer first-person action games from the comfort of IRC.

Beyond the hacks in this chapter, we hope that your imagination can lead you to create your own unique hacks, such as a bot that notifies you when you’re low on hard disk space or when it’s time to go and watch your favorite TV program.

Welcome Visitors Automagically

Create a simple bot that welcomes visitors to your IRC channels.

" Can I ask a question?” Users of busy channels will often observe newcomers popping in and asking this. You may wonder why they don’t just ask their question, allowing people to choose whether or not to answer it, rather than having to answer the redundant question as well.

Channel Rules

Many IRC channels have a basic set of ground rules associated with them. The regular inhabitants of the channel generally know these rules and abide by them. A lot of rules are common sense and are put in place ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Wireless Hacks

Wireless Hacks

Rob Flickenger
How to Develop a Great Digital Strategy

How to Develop a Great Digital Strategy

Jeanne W. Ross, Cynthia M. Beath, Ina M. Sebastian
Leading Remotely

Leading Remotely

Whitney Johnson

Publisher Resources

ISBN: 059600687XErrata Page