Wollabot, an IRC bot framework in Php

Wollabot is the easiest way to create your own IRC bot. The framework is entirely built in Php and you need very few tuning to make it work. (Good documentation too…)

Here is an example of a (very) simple bot:

class MyModule extends Wollabot_Module {
  function MyModule () {
    $this->bind_prefix('say_hello', 'hello');
  }

  function say_hello ($data) {
    $this->send_privmsg($data['channel'], "Hello ".$data['nick']);
  }
}
$wollabot->register_module("MyModule");

Comments

comments powered by Disqus
Copyright © 2000-2015 - Eric Abouaf - Powered by Hexo