who.txt 397 Bytes
def who(id, players, mud):
    mud.send_message(id, "")
    mud.send_message(id, "-------- {} Players Currently Online --------".format(len(players)))
    for pid, player in players.items():
        mud.send_message(id, "   " + player["name"])
    mud.send_message(id, "---------------------------------------------".format(len(players)))
    mud.send_message(id, "")
who(id, players, mud)
del who