Re: NEWBIE Lives system & Prompt

From: Jerry Billings (Jubjubsoft@aol.com)
Date: 02/06/00


Okay I managed to fix the whole thing, the entire lives system works just
fine, but now i'm trying to add a check for when lives equal 0 to not allow
the char to log back into the mud...only i cant figure what to do.. I tried
to add this to comm.c
if GET_LIVES(ch) == 0 send_to_char("Sorry you have run out of lives", ch)
CLOSE_SOCKET(desc);

right before:
SEND_TO_Q(GREETINGS, newd);

but it gave me several errors, is this the correct place to put it?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
          5th Dimention -- 5d.dynip.com:4000   http://5d.dynip.com/5d
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-


     +------------------------------------------------------------+
     | 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