Color

From: Manafort (manafort@mindspring.com)
Date: 12/28/99


Ok ive been trying to add color to my status bar but i get tons of wierd
errors i took a guess on how to add it (which turned out reallllly bad).

here is what the code is

if (PRF_FLAGGED(d->character, PRF_DISPHP))
count += sprintf(prompt + count, "%d(%d)Hitp ",
GET_HIT(d->character),GET_MAX_HIT(d->character));

i did

if (PRF_FLAGGED(d->character, PRF_DISPHP))
      count += sprintf(prompt + count, "%d(%d)Hitp ", CCRED(ch, C_NRM),
GET_HIT(d->character),GET_MAX_HIT(d->character),CCCYN(ch, C_NRM));

and got umm well over 35 errors. so im hoping there is an easier way?

Kyros


     +------------------------------------------------------------+
     | 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 : 12/15/00 PST