Modular R2D2 irssi Bot
R2D2 is a bot written in irssi with Perl. He is the channel bot primarily built for #13thHour. You can read his history here. This site is dedicated to the scripts that make him up as of November 2004. All except for the r2d24.0.0.pl script are built so they can be used separately.
8-ball.pl: This is a simple 8-Ball script. It also requires this file to run: 8ball, which is a simple text file with all the possible 8-ball responses.
clockbot.pl: When this is loaded, the bot will respond with an amusing statement each time the word "clockbot" is used. It also requires this file to run: clockbot, which is a simple text file with all the possible responses.
conversion.pl: A conversion script for metric and standard, converts F to C, kg to lb, and in to cm, and vice versa.
countrycodes.pl: For deterimining a country's internet code, or figuring out what code goes with which country. It also requires this file to run: countrycodes, which is a simple text file with all the codes.
currency.pl: A money conversion script, can convert the following monetary units: USD EUR GBP SEK JPY and AUD. Requires SOAP:Lite.
google.pl: A google searching script, returns first 3 results in a private message. Requires the Perl module SOAP::Lite, and a free google API developers key.
lastspoke.pl: A !seen script with additional features, written by Sander Smeenk, the only one of R2's scripts I did not write (why re-invent the wheel? This script is clever).
request.pl: This script has special responses for a variety of request, including requests for coffee, ice cream, and hugs. Also responds to some key words in the channel. (This script is fairly #13thHour-centric, but can be easily modified by changing valiues in the hash)
statecodes.pl: The same as countrycodes.pl, but with US states. It also requires this file to run: statecodes, which is a simple text file with all the codes.
systeminfo.pl: This script grabs some info from your system, including date, time, uptime, and day of the year.
ur.pl: Got an annoying chatter who likes to use "ur" rather than "you're" or "your"? This script responds with a fact about the ancient city of Ur each time someone says "ur". It also requires this file to run: ur, which is a simple text file with the Ur facts.
weatherbot3.1.pl: A worldwide weather script, which uses information scraped from wunderground.com. Requires the Perl module LWP::UserAgent and it's dependencies.
r2d24.0.0.pl: A custom (and messy) script with some more user specific commands, as well as the "respond to everything" ! trigger. (I put this up as an example)