Initial import.

This commit is contained in:
Jan Philipp Timme
2010-11-21 22:13:54 +00:00
parent 85f7da38b6
commit 6b39d44754
52 changed files with 1395 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
#BOT_INCLUDE "mods" "global" "0"
if(is_numeric($level = $this -> protocol -> getArgs(1, $recv))){
$text[] = "Commands for level ".$level.": (example: command(level) (*=query command, #=channel command))";
$text[] = $this -> commands -> getList($level);
foreach($text as $line) $this -> call("notice", $recv["nick"], $line);
}
else{
$text[] = "Installed commands: (example: command(level) (*=query command, #=channel command))";
$text[] = $this -> commands -> getList(9);
foreach($text as $line) $this -> call("notice", $recv["origin"], $line);
}
?>