$b[level] ? -1 : 1; } $fh = fopen("http://localhost:34000/who", "rb"); if (!$fh) { unavailable("Connected Players"); } else { $who = array(); while (!feof($fh)) { $line = fgets($fh, 1024); $ary = mudExtractFields($line, array(name, level, race, clss, topkiller, solokills, groupkills, deaths, pkills, pkilled, arenakills, arenawins, arenakilled, title, account)); if (count($ary) == 15) { array_push($who, $ary); } if (count($ary) == 14) { array_push($who, $ary); } } fclose($fh); ?> Hide statistics
Show statistics

100) { echo " \n"; $ch[title] = $ch[account]; $ch[account] = 0; } else { echo " \n"; } ?> = 75 && $ch[level] <= 100) { $nobles++; } } ?>
  Lv Class   Name / Title  Race 
Statistics (legend at end of page)

[ Immortal$ch[level]" . ($ch[level] >= 75 ? "" : "") . $ch[clss] . ($ch[level] >= 100 ? "" : "") . "] ()

.

Statistics legend:
  • k = mob kills above level
  • sk = solo kills
  • gk = group kills
  • d = deaths
  • pk = pkills
  • pkd = pkdeaths
  • ak = arena kills
  • aw = arena wins
  • ad = arena deaths