phpircbot2/commands/phpdump.global.php
Jan Philipp Timme 6b39d44754 Initial import.
2010-11-21 22:13:54 +00:00

8 lines
242 B
PHP

<?php
#BOT_INCLUDE "phpdump" "global" "9"
$r = $this -> eval_php($this -> protocol -> getArgs(1, $recv));
if(trim($r) != ""){
$lines = explode("\n", $r);
foreach($lines as $line) $this -> call("privmsg", $recv["origin"], $line);
}
?>