Hailo

Anonymous

Hailo

Hailo is a replacement for MegaHAL. It's also a plugin, which gives the bot the ability to reply to, for Supybot made by Nicolas Coevoet.

Installing

First you need to have Hailo installed on your computer.

From hailo installation instructions (make sure that you have curl installed first):

$ sudo su


# curl -L http://cpanmin.us | perl - --sudo App::cpanminus


# cpanm --sudo Hailo

Downloading the plugin

Now download the ubotufr archive and extract it.

$ wget http://nicolas.coevoet.fr/supybot-ircd-seven.tar


$ tar xvf supybot-ircd-seven.tar

You can use bazaar, if you prefer:

$ bzr branch lp:~ubuntu-fr/ubuntu-bots/ubotufr

Now move the Hailo directory in the path which is pointed by the supybot.directories.plugins configuration variable of your Supybot.

Configuring the bot to use Hailo

1. Load the plugin.

!load Hailo

2. Set the bot to learn from everything what it can see.

!config plugin.hailo.learn True

3. Set the bot to reply to messages when it's addressed by nick. NOTE: DO THIS PER CHANNEL, DON'T SET THIS GLOBALLY OR YOU WILL REGRET IT!

!config channel plugins.hailo.reply 1

4. Enjoy :-)


MongoDB Logo MongoDB