Public feed #726377

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-10-05 03:48 UTC
rendered paste body
<?php
 
/**
* @author `slushpuppy\
* @copyright 2007
*/
 include_once("$include/functions/eventfunctions.php");
if (preg_match("/(stats)/i",linetok($rawline,0))) {
$nick = trim(str_replace(" ","_",(substr(line($rawline), strpos(line($rawline),linetok($rawline, 1))))));
$symbol = linetok($rawline, 0);
fwrite($socket, output_format($symbol{0},get_nick($rawline),get_channel($rawline))." ".statslookup($nick)."\r\n");
 
}
if (strpos(linetok($rawline, 0),"cmb")>0) {
$nick = trim(str_replace(" ","_",(substr(line($rawline), strpos(line($rawline),linetok($rawline, 1))))));
$symbol = linetok($rawline, 0);
fwrite($socket, output_format($symbol{0},get_nick($rawline),get_channel($rawline))." ".cmblookup($nick)."\r\n");

}
?>