Re: [CODE] Looking for:

From: Admin of The Keep (dkoepke@california.com)
Date: 09/05/96


On Wed, 4 Sep 1996, Argus wrote:

> I am looking to see if anyone has done a "who's on the mud" form the 
> main menu.  I'd rather see if someone has it before I try and 
> re-invent the wheel.  If you can post it to the list or send it my 
> way I'd appreciate it.  Thanx 

Under CON_MENU in interpreter.c put a new option, like:

    case 'w':
      do_who(d->character, "", 0, 0);
      SEND_TO_Q("\r\nPress ENTER to Continue\r\n", d);
      STATE(d) = CON_RMOTD;
      break;

Then change the menu const in config.c.  That should be it.

  -Daniel


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST