Initial import.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
#BOT_INCLUDE "uptime" "prefix" "2"
|
||||
$cmd = "uptime";
|
||||
$p = popen($cmd, "r");
|
||||
while($data = fgets($p, 8192)){
|
||||
$result[] = $data;
|
||||
}
|
||||
pclose($p);
|
||||
foreach($result as $line) $this -> call("privmsg", $recv["origin"], trim($line));
|
||||
?>
|
||||
Reference in New Issue
Block a user