Re: class menu

From: Daniel Koepke (dkoepke@california.com)
Date: 02/18/97


On Tue, 18 Feb 1997, Brian Williams - Nashak wrote:

> ok.. soon as I finish putting in my classes all.. <for like the 50th time>
> I gonna put in my class->race restrictions again <thanks Danny boy :P>
> but, if someone picks a race that doesn't have a class they like.. I want
> an option.. <z> at the class menu that puts them back to the race menu..
> <unlike many muds I see, my race menu comes before the class menu>..
> if anyone feels like helping, thanks =)

That's not too difficult. Just do like:

  if (*arg == 'z') {
    // code to display the race menu goes here
    STATE(d) = CON_QRACE;
    return;
  }

At the top of CON_QCLASS.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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