Re: [CODE] [NEWBIE] Make who show races.

From: Donald P. Taylor (dtay@iquest.net)
Date: 07/08/00


-----Original Message-----
From: Circle Discussion List [mailto:CIRCLE@post.queensu.ca]On Behalf Of
Brian Beffa
Sent: Friday, July 07, 2000 2:02 AM
To: CIRCLE@post.queensu.ca
Subject: [CIRCLE] [CODE] [NEWBIE] Make who show races.


I admit I AM stupid. I am stupid.  So could someone help me out and give me
the code so that the who command will show races.  All I did trying was
make
the mud crash dozens of times.  Any help would be appreciated.  Thanks.

brian

<---------->

All you need to do is add %s where you want it to show and then put in
RACE_ABBR in the appropriate place.

Keep in mind that this is what it would look like if you use Daniel's who
patch.

ORIGINAL :

 sprintf(Mort_buf, "%s[%2d %s] %s %s", Mort_buf, GET_LEVEL(wch),
              CLASS_ABBR(wch),GET_NAME(wch), GET_TITLE(wch));
       Mortals++;

NEW :
                            *---add this %s
 sprintf(Mort_buf, "%s[%2d %s %s] %s %s", Mort_buf, GET_LEVEL(wch),
              RACE_ABBR(wch), CLASS_ABBR(wch),GET_NAME(wch),
GET_TITLE(wch));
       Mortals++;    ^_____add this in order


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