On Mon, Oct 16, 2000 at 11:30:20AM -0400, Dana Luther wrote: > This is mailer snippet, so double check your syntaxes, don't copy/paste > > Instead of adding something to the player struct, why not add another PLR_X > flag? > In structs.h, where all the other PLR_X flags are listed, add > #define PLR_SHOWN_CANLEVEL 23 /* this should not be 23, it should be > whatever your highest PLR flag is plus 1) > > before showing them the message check for the flag with a quick > if ( /*whatever your criteria for level meesage*/ && !PLR_FLAGGED(ch, > PLR_SHOWN_CANLEVEL) > ... show message here.... > /* Set the message flag */ > SET_BIT(PLR_FLAGS(ch), PLR_SHOWN_CANLEVEL); > > and when they do their level at the mob, > REMOVE_BIT(PLR_FLAGS(ch), PLR_SHOWN_CANLEVEL); > > That's it, hope it helps, Worked perfectly, thanks! Adam +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT