On Tue, 15 Oct 1996, Nic Suzor wrote: > for the do_score, you will need to put an extra %s in there somewhere. right > now, it will look like this: > > sprintf(buf, "%s This ranks you as %s %s (level %d).\r\n", buf, > GET_NAME(ch), GET_TITLE(ch), GET_LEVEL(ch)); > > change it to: > > sprintf(buf, "%s This ranks you as The %s, %s %s (level %d).\r\n", buf, > GET_RACE(ch), GET_NAME(ch), GET_TITLE(ch), GET_LEVEL(ch)); > > this will print out: This ranks you as The Human, Damion the great (level 1) > or whatever. remember that each %s is substituted for the get_?? it performs... > > in the do_who, do pretty much the same thing. between get_class and get_name > or something, put in an extra %s and down the bottom, in the right order, > put in get_race(ch)... > I tried that and it didn't display the race...I figured that I was missing something, but I will try it again. +-----------------------------------------------------------+ | 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