phpircbot2/commands/phpdump.global.php

8 lines
242 B
PHP
Raw Permalink Normal View History

2010-11-21 23:13:54 +01:00
<?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);
}
?>