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
+10
View File
@@ -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));
?>