MENU SNIPPET V1.0 by Joe Fabiano NOTE: (not 100% finished but it will work w/o a prob :) ) Step 1: in mud.h look for: CON_GET_WANT_RIPANSI, CON_TITLE, CON_PRESS_ENTER, and change that line to reaD: CON_GET_WANT_RIPANSI, CON_TITLE, CON_PRESS_ENTER2, then look for: CON_ACCEPTED, CON_GET_PKILL, CON_READ_IMOTD and change that line to read: CON_ACCEPTED, CON_GET_PKILL, CON_READ_IMOTD, CON_PRESS_ENTER, CON_MENU Now open up comm.c and look for: case CON_PRESS_ENTER: if ( chk_watch(get_trust(ch), ch->name, d->host) ) /* --Gorog */ SET_BIT( ch->pcdata->flags, PCFLAG_WATCH ); else REMOVE_BIT( ch->pcdata->flags, PCFLAG_WATCH ); if ( xIS_SET(ch->act, PLR_RIP) ) send_rip_screen(ch); if ( xIS_SET(ch->act, PLR_ANSI) ) send_to_pager( "\033[2J", ch ); else send_to_pager( "\014", ch ); and below that add: write_to_buffer( d, "*** Welcome to the Game ***\n\r \n\rHere are your options:\n\r 0) Leave the Game\n\r 1) Enter the Game\n\r 2) See who is currently Online\n\r 3) Read the background story\n\r 4) Change your password\n\r 5) Enter your character description\n\r 6) Delete this character\n\r Please select your choice: ", 0); d->connected = CON_MENU; break; case CON_MENU: switch ( argument[0] ) { case '0': write_to_buffer( d, "Come back again.\n\r", 0 ); /* clear descriptor pointer to get rid of bug message in log * while noticing that you must set teh descriptor to NULL * to do so. I would advise NOT to tamper with this function * i.e. the close_socket function. It seems fine so no need to mess with it. */ d->character->desc = NULL; close_socket( d, FALSE ); return; break; case '1': d->connected = CON_PRESS_ENTER2; break; case '2': do_who(ch, ""); return; break; case '3': do_help( ch, "background" ); return; break; case '4': send_to_pager( "\n\rCurrently working on to fix security issues.", ch); return; break; case '5': send_to_pager( "\n\rCurrently working on to fix security issues.", ch); return; break; case '6': send_to_pager( "\n\rContact rinthos@yahoo.com to explain how to get this working.", ch); return; break; default: write_to_buffer( d, "Your choices are::\n\r 0) Leave the Game\n\r 1) Enter the Game\n\r 2) See who is currently Online\n\r 3) Read the background story\n\r 4) Change your password\n\r 5) Enter your character description\n\r 6) Delete this character\n\r Please select your choice: ", 0); return; } case CON_PRESS_ENTER2: and you should be all set :) just make clean and make. --- Joe Fabiano