October 22, 2002
I'm working on writing an IRC bot in Perl, and it's not easy due to the extreme lack of good documentation on the Net::IRC module. That, compounded with the fact that I'm not the best Perl programmer around really complicates things. I've been able to write enough to get the bot to connect to IRC, message people upon joining the channel, and respond to basic text strings. Running more advanced routines seems to be a lot more difficult - and buggy.
(06:19)
Update: Woo! I've finally conquered the problems I was having with the bot getting caught in a loop. I wrote a routine where the bot would respond to messages, but it didn't know enough to ignore messages from itself. So it would keep messaging itself, and upon getting a reply fron itself, continue messaging itself. Now it can ignore itself, and can repeat messages back to users. Whee!
(13:28)
Search :: Previous Entry :: Next Entry