Red are new lines, cyan are changed lines.
MQ.h
Code: Select all
BOOL ConColor;[color=red]
BOOL Invisible;[/color]
} SWHOFILTER, *PSWHOFILTER;
Code: Select all
gFilterSWho.ConColor= GetPrivateProfileInt("SWho Filter","ConColor",0,Filename);[color=red]
gFilterSWho.Invisible= GetPrivateProfileInt("SWho Filter","Invisible",0,Filename);[/color]
gTelnetServer= GetPrivateProfileInt("Telnet Server","Enabled",0,Filename);
Code: Select all
SetDisplaySWhoFilter(&gFilterSWho.ConColor,"ConColor",szToggle);[color=red]
} else if (!stricmp(szArg,"invisible")) {
SetDisplaySWhoFilter(&gFilterSWho.Invisible,"Invisible",szToggle);[/color]
} else {[color=cyan]
WriteChatBuffer("Usage: /whofilter <lastname|class|race|level|gm|guild|holding|ld|anon|lfg|npctag|spawnid|trader|afk|concolor|invisible> [on|off]",USERCOLOR_DEFAULT);[/color]
}
}
Code: Select all
if ((pFilter->bGroup) && (!IsInGroup(pSpawn))) continue; [color=cyan]
if (((!pFilter->bTargInvis) || (gFilterSWho.Invisible)) && (pSpawn->BodyType>0x40)) continue;[/color]
if ((pFilter->bTrader) && (!pSpawn->pActorInfo->Trader)) continue;




