I am messing with do_who trying to manual code in
pretitles for me and my other coder, but when i get it
all up i get the pretitle but nothing after it...does
anyone know what my problem might be? Here is what i
have here..
if (!str_cmp(wch->name,"Cuthbert") ||
(!str_cmp(wch->name,"Pallock")))
{
sprintf(buf,"{D[ {w+{W-{R>{w
C{Wo{Dde{Wr{wX {R<{W-{w+{D ]{w %s%s{x\n\r",
wch->incog_level >= LEVEL_HERO
? "{c({WInco{c){x " : "",
wch->invis_level >= LEVEL_HERO
? "{c({WWizi{c){x " : "",
clan_table[wch->clan].who_name,
IS_SET(wch->comm, COMM_AFK) ?
"{w[{WAFK{w]{x " : "",
IS_SET(wch->act, PLR_KILLER) ?
"{w({RK{w){x " : "",
IS_SET(wch->act, PLR_THIEF) ?
"{w({RT{w){x " : "",
wch->name,
IS_NPC(wch) ? "" : wch->pcdata->title
),
add_buf(output,buf);
}
else
{
sprintf( buf, "{D[ {w%3d {W%6s
{R%s {D]{x %s%s%s%s%s%s%s%s{x\n\r",
wch->level,
wch->race < MAX_PC_RACE ?
pc_race_table[wch->race].who_name
: " ", class,
wch->incog_level >= LEVEL_HERO
? "{c({WInco{c){x " : "",
wch->invis_level >= LEVEL_HERO
? "{c({WWizi{c){x " : "",
clan_table[wch->clan].who_name,
IS_SET(wch->comm, COMM_AFK) ?
"{w[{W IS_SET(wch->act, PLR_KILLER)
? "{w({RK{w){x " : "",
IS_SET(wch->act, PLR_THIEF) ?
"{w({RT{w){x " : "",
wch->name,
IS_NPC(wch) ? "" :
wch->pcdata->title );
add_buf(output,buf);
}
AFK{w]{x " : "",
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com