Content
Ruby IRCBot
Overview
Rircbot is a sample process automation tool (a very simple software robot) which runs in an IRC-based environment. Its primary purpose is to demonstrate the capabilities of Rircse, the Ruby IRClib (Second Edition), which is the library which powers it by exposing message abstraction and eventing objects.
The bot can respond to two user-accessable commands, !join and !quit, as well as responding to server pings and keeping track of its own connection status dynamically. The code is almost entirely event based: Rircbot tells Rircse which events its interested in, then Rircse calls methods in Rircbot whenever it fires an event which Rircbot has hooked into. This makes for a simple but powerful tool for creating automations and scripts.
If you're interested in building an IRC bot, Rircbot is a great platform to begin from, and a neat introduction to using Rircse.
Download
You can download Rircbot here: Rircbot.zip (Platform-Independent). It is released under the terms of the GNU General Public License.
The zip archive contains Rircbot's Ruby script files, as well as Rircse's Ruby script files. These are both executable and editable, providing you've installed the Ruby interpreter beforehand.
