Subscribe
Contact



AddThis Social Bookmark Button
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");
Categories: Php | Add a comment »
© 2007 Eric Abouaf