Filtering pet spam?

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

cgi-bin
orc pawn
orc pawn
Posts: 25
Joined: Sat Jul 10, 2004 3:50 pm

Filtering pet spam?

Post by cgi-bin » Mon Jul 19, 2004 1:32 pm

Not sure if this would be a macro or plugin...

I don't want to re-invent the wheel, so if something similar to this has been done, or something that could be easily modified, I'd appreciate a point in the right direction... (I did search, but didn't find anything that looked similar).

I'm thinking of trying to create a macro/plug-in to filter out all the pet spam that isn't filtered by the game's built in filter. Basically all the beastlord/mage/necro pet procs and now the new rampage/flurry etc.

Some basic psudo-code:
on new(message):
if message.from.type = pet and message.from.owner != me
then message.destroy()

Hopefully it would be able to filter messages from traditional pets as well as the new wards.

If this is something thats possible, please let me know if there some examples I should look at for inspiration.

Thanks

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Mon Jul 19, 2004 5:46 pm

Have you looked in both the Option Window -> Filters and the right-click Filters?

cgi-bin
orc pawn
orc pawn
Posts: 25
Joined: Sat Jul 10, 2004 3:50 pm

Post by cgi-bin » Mon Jul 19, 2004 6:48 pm

Drumstix42 wrote:Have you looked in both the Option Window -> Filters and the right-click Filters?
Yes.

The filters under options are the type I'm looking for. However, all pet casting is included with NPC Spells, which is an all or nothing toggle.

The filters under the right-click only adjusts which window they are displayed in, and there isn't anything for pets anyway... they are lumped under "Others" which includes NPC and other players. Pet Rampage/Flurry/Crits have a filter in there, but the best I could do is put them into another window and minimize it.