Re: [code] [request] Please repost race who.

From: Dragon MUD Admin (reddragon@greatbasin.com)
Date: 12/17/96


if (GET_LEVEL(wch) >= LVL_IMMORT) {
  sprintf(Imm_buf, "%s%s[%s (%s)] %s %s (%s)", Imm_buf, CCGRN(ch,
C_SPR),
      WizLevels[GET_LEVEL(wch)-LVL_IMMORT], CLASS_ABBR(wch),
      GET_NAME(wch), GET_TITLE(wch), pc_race_types[(int)
GET_RACE(wch)]);
				     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
					This is the important part.

Note that this is running on a somewhat modified version of the do_who
from the ftp site; we added races to the code.  Hope this helps.

-----
Dragon MUD Administration
login.greatbasin.net:4444

Allan M. Grant wrote:
> 
> Hi,
> I have finnaly got the races to work and now I want to add them to the
> do_who
> Someone posted a way to do it but I can't find that post. Please repost
> or send he the post.
> 
> P/S I have no idea how I got it to work. I put the part that didn't work
> in \*     *\ and then removed those (returned it to normall) and it
> worked. Hmm :)
> 
> Thanks,
> 
> Pheonix
> +-----------------------------------------------------------+
> | 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   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST