Initial import.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user