Anyone know what I would need to do to the do_who code to allow it to
display standard player info for players while keeping imm pretitles in
place for immortals? Here's the format.
(level)Race)(Class) + (name and title)
[15 Human Cl] Arin the Pilferer
sprintf(buf, "&W[&n%-16s&W]&n %s %s%s",
((GET_LEVEL(tch) < LVL_IMMORT) ? "" : GET_PRETITLE(tch) ?
color_truncate(GET_PRETITLE(tch), 16, buf2) : ""),
GET_NAME(tch), GET_TITLE(tch),
/* I thought the code below might work but I need opinions/comments */
}else{
sprintf(buf, "%s[%2d %s %s] %s %s",
GET_LEVEL(tch), RACE_ABBR(tch), CLASS_ABBR(tch), GET_NAME(tch),
GET_TITLE(tch));
Any help you can offer is always appreciated.
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT