I had searched and found various topics, but must have over looked this one. I'll see if it works.
Thanks
Also, it does not seem to work for me.
This is displayed at the top of the page.
#
\n"; } else { fputs($fp,"USER $botnick $botnick 127.0.0.1 :php\n"); $nick = $botnick . rand(10000,99999); fputs($fp,"NICK $nick\n"); while (!feof($fp)) { usleep(50); $fget = @fgets($fp, 128); //echo "$fget
\n"; $match = explode(" ", $fget); $fget = ereg_replace ("\n", "", $fget); $fget = ereg_replace ("\r", "", $fget); if ($match[1] == "001") { fputs($fp,"LIST\n"); } else if ($match[0] == "PING") { fputs($fp, "PONG :" . $match[1]); } else if ($match[1] == "433") { $nick = $botnick . rand(10000,99999); fputs($fp,"NICK $nick\n"); } else if ($match[1] == "323") { fputs($fp, "QUIT :bye!\n"); break; } else if ($match[1] == "322") { $match[3] = ereg_replace ("#", "", $match[3]); if (eregi ("$channel(.*)", $match[3], $chan)) { $topic = explode(":", $fget); unset($topic[0]); unset($topic[1]); $topic = implode(":", $topic); $topic = explode(" ", $topic); unset($topic[0]); $topic = implode(" ", $topic); if ($color == "FFFFCC") { $color = "FFFFFF"; } else { $color = "FFFFCC"; } ?>
It seems like it knows a room is there, but where the text should be, it just shows a green bar all the way across.
Edited Nov 6, 2008 6:14 PM by DJ24966