> sprintf(buf, "%s: You are a %d year old %s %s %s. Your level is %d.", > GET_NAME(ch), GET_AGE(ch), GET_SEX(ch), GET_RACE(ch), GET_CLASS(ch), > GET_LEVEL(ch)); > send_to_char(buf, ch); > GET_SEX() returns a number, not a string change your line with this: sprintf(buf, "%s: You are a %d year old %s %s %s. Your level is %d.", GET_NAME(ch), GET_AGE(ch), GET_SEX(ch) == SEX_MALE ? "Male" : (GET_SEX(ch) == SEX_FEMALE ? "Female" : "Neutral") , GET_RACE(ch), GET_CLASS(ch), GET_LEVEL(ch)); send_to_char(buf, ch); i think it will work :) drch daryl harrison drch@uniserve.com +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST