[CODE] Race help

From: Chuck Reed (creed@I-55.COM)
Date: 03/15/98


I'm trying to add in a feature on my character creation where you can view a
small
paragraph on each of the races.  I have it set up like so:

case CON_QRACE:
    load_result = parse_race(*arg);
    if (load_result == RACE_UNDEFINED) {
      SEND_TO_Q("\r\nThat's not a race.\r\nRace: ", d);
      return;
    }
    else if(load_result == RACE_HELP) {
      page_string(d, race_help, 1);
      SEND_TO_Q(race_menu, d);
      STATE(d) = CON_QRACE;
      break;
    }
    else
      GET_RACE(d->character) = load_result;

Now, it writes out the first page of the page string, then shows the race
menu, then shows the rest of the race help.  I have no idea why it's doing
this and anyone who has acomplished something similar, I'd appreciate any tips.

Chuck


+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+
| Chuck Reed                  | Ash of Dark Horizon          |
| creed@i-55.com              | dh.gator.net 6001            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+


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



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