For some odd reason our prompt code will not parse color tokens, like if a mob has a short desciption of: &zThe dude&n it will keep the color tokens instead of parsing the color into the name and making the name grey. I'm using the basic battle prompt code i've got help with before: heres the nemeny name bit: Any help would be greatly apreciated :) if (PRF_FLAGGED(d->character, PRF_ENEMY) && FIGHTING(d->character)) { if (CAN_SEE(d->character, FIGHTING(d->character))) { sprintf(prompt + strlen(prompt), " E: %s ", GET_NAME(FIGHTING(d->character))); } else sprintf(prompt + strlen(prompt), " E: Someone "); } Also if i wnt to restric color token where mortals can't use them in says, how would i go about doing this? :) Thanks, Tiznor (Dave Cole) -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/24/03 PDT