> Oh... I see how I was wrong... they are both *numbers* how do I get those
> numbers to change to words??
Take a look at the below. CLASS_ABBR(ch), RACE_ABBR(ch)
What you need to do is create an CLAN_ABBR
Basically its an array of strings, that the CLAN_ABBR will use to index into
In utils.h
#define CLAN_ABBR(ch) (IS_NPC(ch) ? "--" : clan_abbrevs[(int)GET_CLAN(ch)])
In clan.c i suppose:
const char *clan_abbrevs[] = {
"McCloud",
"Blood",
"MyClan",
"\n"
}
Obviosuly thats just a silly sample, list
out what you want to show up as the clan
abbreviation.
Also note you need to add to that list whenever you create a new clan
online..
Then down there, replace GET_CLAN(wch) with CLAN_ABBR(wch)
>
> Could you explain well?? and how do I put them into the do_who?
> > CLASS_ABBR(wch), RACE_ABBR(ch), GET_CLAN(wch),
> GET_NAME(wch),
> > GET_TITLE(wch));
> > Mortals++;
> >
> > That is where I have been adding things.
> >
> >
> > _____________________________________
> > / \
> > | IMP of The Savage Lands |
> > | wiseguy@savage.mudservices.com |
> > | |
> > \_______________________________________/
> >
> > Sticks and Stones will break your bones, but words
> > shall kick your ass!
> > +-----------------------------------------------------------+
> > | Ensure that you have read the CircleMUD Mailing List FAQ: |
> > | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
> > +-----------------------------------------------------------+
> +-----------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
> +-----------------------------------------------------------+
>
*******************************************************************
* Ron Hensley ron@dmv.com *
* Systems Administrator http://www.dmv.com/~ron *
* PGP Key at WWW Page *
* DelMarVa OnLine 749-7898 Ext. 403 *
*******************************************************************
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST