Re: [Circle] Displaying RACE/CLASS

From: Eric Jones (fpicard@taeback.kornet.nm.kr)
Date: 11/16/96


On Fri, 15 Nov 1996, Bruce, Ray, Phil wrote:

> WHen you want to display the WHOLE word of a CLASS or RACE...
> How do you do it?
> GET_RACE and GET_CLASS dont work... THey either give (null) or Crash the
> mud... Could someone direct me on how I could display the race and class in
> the score and whois commands.
> 
like this.... here's a excerpt from my do_score function:

sprintf(buf, "Class: ", buf);
sprinttype(ch->player.class, pc_class_types, buf2);
sprintf(buf, "%s%s\r\n", buf, buf2);

hope this helps. 

o--------------------------------o
|  Eric Jones                    |
|  fpicard@taeback.kornet.nm.kr  |
|  jonese@cs51.osan.af.mil       |
o--------------------------------o


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