Introduction
This really simple hack enables your Eggdrop IRC bot to answer to an IRC chat when its name (or any other strings you define) is spoken on the channel with an Eliza personality. It is basically just a wrapper around the Perl module Chatbot::Eliza.This could be extended to use a more intelligent answer style or to create some kind of knowledge base bot.
Requirements
The Eliza extension does not need that much. As I am more familiar with Perl than with TCL and there is already an Perl module für the Eliza functionality I have decided to implement only the wrapper in Perl and have the real functionality in a Perl program that get's called. This is inefficient if it's called often. But in my environment that works perfectly...- Eggdrop
- Perl with Chatbot::Eliza
News
2004/01/26Initial public release.
Installation
Make sure that Perl 5.6.0 or newer is installed and that the CPAN module Chatbot::Eliza is installed and in one of the dirs in @INC.I assume that you already setup your Eggdrop successfully and that the underlying system is some kind of Unix or Linux.
Copy the files in the archive in one directory. Open eliza.tcl in your favorite editor. There are two marks. One is "###CONFIGSTART###" and one is "###CONFIGEND###". Everything between these two has to be modified to match your environment. See the comments in the file for a description of the settings.
Now configure Eggdrop to load the script. Add a line like
source /server/irc/eggdrop/scripts/eggeliza/eliza.tclto your config file.
If you rehash the Eggdrop now the bot should answer.
Download
The Eggdrop Eliza Extension is released and distributed under the terms of the GNU General Public License (GPL).By downloading and/or using the software you agree to this license!
You may download the install file provided as a .zip and as a .tar.gz file.
Latest development version is 0.2.
eggeliza 0.2 | .tar.gz (1939 Bytes) | .zip (3848 Bytes) |