On Mon, 14 Oct 1996, Daniel wrote: > "Damion the Human Warrior" or better yet.... > "You are proud to be a(n) Elf" ^^^^^^ Check out utils.h for Jeremy's SANA macro... #define SANA(obj) (strchr("aeiouyAEIOUY", *(obj)->name) ? "an" : "a") > > [1 Wa <Human>] Chains the mighty Warrior. > ACMD(do_who) { [snip] sprintf(buf, "[ %2s %2s %3d ] %s %s", RACE_ABBR(tch), CLASS_ABBR(tch), GET_LEVEL(tch), GET_NAME(tch), GET_TITLE(tch)); [snip] Basically, take the two-letter race abbreviation, two letter class abbreviation, level, name and title in format [ Hu Wa 20 ] Bob the Warrior --- George Greer, gagreer@dragon.ham.muohio.edu +-----------------------------------------------------------+ | 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