Quick easy question.

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

srene8
orc pawn
orc pawn
Posts: 11
Joined: Thu Oct 02, 2003 7:35 pm

Quick easy question.

Post by srene8 » Thu Oct 02, 2003 7:38 pm

Is it possible to filter the variables that come back with /who? I really couldn't care about race, it's just more spam, especially where it comes, it's very cluttered. If this is possible, please let me know how to do it. If impossible, could you disable the modified /who entirely, while still running MQ? Thanks in advance.

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Post by || Napolion || » Thu Oct 02, 2003 8:05 pm

If you are ok with messing around with program code, then you can disable the modified /who.
I am not sure if you can just modifie it to show what you need, but I think it can be done.

|| Napolion ||

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Fri Oct 03, 2003 9:29 am

In EQLib_Commands, edit the SuperWhoDisplay function. Comment out the information you don't want displayed.

Changing

Code: Select all

sprintf(szMsg,"%s[%d %s %s] %s",GM, pSpawn->Level, GetRaceByID(pSpawn->Race), GetClassByID(pSpawn->Class), szName);
to

Code: Select all

sprintf(szMsg,"%s[%d %s] %s",GM, pSpawn->Level, GetClassByID(pSpawn->Class), szName);
should eliminate Race from the /who display.

Untested by the way, this just from a quick search through the /who function.
MQ2: Think of it as Evolution in action.