$this->modman = $old;
}
- ModCMD::bind($this, BIND_PRIVMSG, "recive_privmsg");
+ ModCMD::bind($this, BIND_CHANMSG, "recive_privmsg");
ModCMD::bind($this, BIND_QUIT, "recive_quit");
}
$this->uplink->privmsg($this->modman, $channel, "error.");
}
break;
+ case "~list":
+ foreach(BotLoader::listBots() as $name => $bot) {
+ $this->uplink->privmsg($this->modman, $channel, $name);
+ }
+ break;
case "~debug":
$exp=explode(" ",$message,2);
ob_start();