girbot

| | Comments (0) | TrackBacks (1)

Well, I know there is already another girbot out there, but, there's always SOME overlap in namespace...

And I really don't care. So, another project grabbed me after playing with Jibot on Joi Ito's irc channel.

The original girbot (written by #include and found here,) was a demonstration of the Net::IRC module. It was a good first step, but it didn't have much in the way of implementation examples, it mainly listened on a channel and echoed to terminal.

My Girbot, named after Gir from Invader Zim is based on the Net::IRC module. I actually looked at the original girbot's script, but most of my stuff is coming from reading the module, as the original girbot doesn't do ops, kicking, actions, or really much at all.

I'll probably mark up some simple version of Girbot to show off what Net::IRC can do.

The most current version (If I can call iterations over a 26 hour period "versions"), greets people entering the room, remembers information, forgets information, gives information on a person when they enter the room, and can op or kick people when it has op.

I'm going to throw in a quotes and drinks command, allowing people to add their own, and ask for a random quote or drink, or the recipe for a specific drink. Also, learning is non-cumulative, which I should get around to playing with. I need to know more file manipulation in Perl so that the bot's long term memory is less crufty and more efficient.

I've been working on IP->geo location for about 45 minutes now and for some reason Geo::IP doesn't seem to want to work.

It requires a DB, which I have, and have placed in the right place, and a C program, GeoIP. I have installed both, but Geo::IP can't find GeoIP. It's a tiny bit frustrating, but I will either get it or I won't. Basically, I want to be able to ask Gir where someone is and get at least a country-level answer.

I might throw in blogging, as I already have the code for it in my sysblogd scripts. Also need to put in hostname recognition and an admin file, allowing for better authentication of commands. Right now, Gir responds when you give him a password and a command to op or kick. I think in the future that hostname checks (a'la eggdrop bot) would be a good thing.

1 TrackBacks

Listed below are links to blogs that reference this entry: girbot.

TrackBack URL for this entry: http://www.katspawcreations.com/htdocs/mt/mt-tb.cgi/12

TITLE: victoria hotel URL: http://http:/hotels.arcadepages.com/victoria-hotel.html IP: 207.226.162.162 BLOG NAME: DATE: 04/28/2006 08:15:54 AM Read More

Leave a comment

About this Entry

This page contains a single entry by Dave Denney published on July 16, 2003 2:22 AM.

sysblogd 0.02 was the previous entry in this blog.

Packing is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.