count($servers) || $server <= -1) $server = 0; print " $header
$tblstart $tccellh>Java IRC Chat - BadnikNET, #x $tccell1>Server List: "; foreach ($servers as $num => $name) { if ($num != 1) print " | "; if ($server == $num) print ""; print "". $name .""; if ($server == $num) print ""; if ($num == 1) print " (preferred)"; } print " $tccell2>"; if ($server) { $badchars = array("~", "&", "@", "?", "!", ".", ",", "=", "+", "%", "*"); $name = str_replace(" ", "", $loguser[name]); $name = str_replace($badchars, "_", $name); if (!$name) { $name = "J-Guest"; $guestmsg = "
Welcome, guest. When you connect to the IRC network, please use the command /nick NICKNAME.
 
"; } print " ". ($_GET['channel'] != "retro" ? "" : "") ." ". ($_GET['channel'] ? "" : "") ." "; } else { print " 
Please choose a server to connect to.
 "; } print "$tblend
$tblstart $tccellh>Quick Help $tccell1l>Commands:
/nick [name] - changes your name
/me [action] - does an action (try it)
/msg [name] [message] - send a private message to another user
/join [#channel] - joins a channel
/part [#channel] - leaves a channel
/quit [message] - obvious $tblend $footer"; printtimedif($startingtime); ?>