![]() ![]() ![]() |
MaBot is an IRC bot which is hacked in perl, it requires the Net::IRC
module which can be downloaded from
sourceforge.
The idea with this bot is to be modular, stable and dynamic, unfortunatley its not more stable than its most unstable module ;-). The Bot framework:The latest framework can be downloaded here. It consists of three mainfiles, the script (mabot), the configure file (etc/<name>cfg) and the dynamics file (etc/*.dyn). The config file contains the non-dynamic settings, whereas the dynamic files contains those settings which are dynamic (those are channels, modules and users, which maybe be set during runtime). To start the bot you simply type ./mabot -c <configure file> for example ./mabot -c etc/sample.cfg.The framework itself doesn't contain that many features except those mentioned, one feature which is built in to it is a link eater, if a link is to long it will store it in a text file, so you can make a annoyingly long link shorter. Another feature is a !last command, which, if its enabled, prints the last messages from the channel. Once the bot is up and running you give it unstructions over PRIVMSG, for example /msg <botname> list, to see what modules it have loaded. Modules:Its fairly easy to write modules for this bot, its descriped in the docs and there is also a template for modules.Here are some modules i wrote:
Documentation:There is some documentation in the docs/ directory. Its still in its evolving phase thou. |
