CoralMUD-0.15/
CoralMUD-0.15/core/
CoralMUD-0.15/data/
CoralMUD-0.15/data/areas/
CoralMUD-0.15/data/help/
CoralMUD-0.15/data/players/
CoralMUD-0.15/lib/automap/
CoralMUD-0.15/lib/items/
class Player
  def cmd_who command_table_entry, arg
    width = 76
    buf =  "_".center(width, '_') + ENDL
    buf << "__players_online__".ljust(width, '_') + ENDL
    $dsock_list.each do |dsock|
      next if dsock.state != :state_playing
      xPlayer = dsock.player
      next if xPlayer == nil
      buf << "=" + (" %-12s " % xPlayer.name).ljust(width-2) + "=" + ENDL
    end
    buf << "=".center(width, '=') + ENDL
    view buf
  end
end