From: Primacy <jmrobins@wired.uvm.edu>
Subject: Player Listings

This piece of code will list out all the players in the player file.
Have fun!

In act.informative.c add:

extern struct player_index_element *player_table;
extern int top_of_p_table;

ACMD(do_players)
{
  int i, count = 0;
  *buf = 0;
 
  for (i = 0; i <= top_of_p_table; i++) {
    sprintf(buf, "%s  %-20.20s", buf, (player_table + i)->name);
    count++;
    if (count == 3) {
      count = 0;
      strcat(buf, "\r\n");
    }
  }
  page_string(ch->desc, buf, 1);
}

In interpreter.c add:

ACMD(do_players); 

{ "players"  , POS_DEAD    , do_players  , 0, 0 },

Let me know if there are any problems with this!
