fixed Client.class.php (block timeouts) and some other bugs
[PHP-P10.git] / Bots / ModManager.class.php
index 61ce790d970bb15335ac406a0f246875a4c85b9f..a83e0a8b1e2ac2837e7e8bac9322ef832c3302b7 100644 (file)
@@ -85,6 +85,11 @@ class {$_NAME} extends Bot {
                                        $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();