/filter command

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

Moderator: MacroQuest Developers

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

/filter command

Post by Domosan » Tue Jun 18, 2002 7:30 am

Submitted as a feature request -- posting here just to see if anyone else likes the idea or not.


Adjust the filter command to accept other parameters besides "skills", most noticeably: "receive", "give" and "person".

/filter receive -- Filters out all of the "You receive n platinum n gold..." lines from the chat screen

/filter give -- Filters out all of the "You give n platinum n gold..." lines from the chat screen

/filter person -- Works just like the ignore option for players, only allows you to block communications from specific NPCs as well


Might be easier to allow the following:

/filter <beginning of line> -- this way a user could type /filter "You receive" and macroquest would block all lines that started with You receive from being displayed.

This could be a dynamic array of strings to allow for nearly unlimited expansion. The only issue I note is that if a person has a large number of filters, then looping through each one to parse out the ones that match could become cumbersome and cause some unwanted delays.

Could also filter out the "You no longer have a target" messages that are spammed during most of the macros.

As you have probably noticed, my main concern is keeping the chat box as clutter free as possible to make sure you can always view any important messages (i.e. a GM asking you what you are doing).

Adding in these filters would allow a person using macroquest to customize the macro using experience to their desires.

Cheers,

Domosan

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

very good ideas...

Post by Plazmic » Tue Jun 18, 2002 11:27 am

I liked the ideas... will be in the next release as:

Code: Select all

	/filter target on,off
		Filters target lost messages
		off: don't display messages
		on: display messages
	/filter money on,off
		Filters "You give/recieve..." messages
		off: don't display messages
		on: display messages
	/filter name <name>
		Filters any line starting with <name>
		<name>: adds to list if not on list, removes from list if already there
And just in case people wonder, the default from the INI for "/filter skill" is to filter skill messages, but not increases
- Plazmic

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

Just curious

Post by Domosan » Tue Jun 18, 2002 11:04 pm

in no way rushing -- just want to know when to look for the next release :)

Cheers,

Domosan

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Tue Jun 18, 2002 11:22 pm

Later tonight or tomorrow...
I've also added /filter food on,off
God I hate those annoying hunger messages...
- Plazmic

Domosan
I had to suck up to get this title ;)
Posts: 101
Joined: Mon Jun 17, 2002 3:54 pm

*grins*

Post by Domosan » Tue Jun 18, 2002 11:33 pm

You are now officially my hero -- I don't have .net at work so am unable to tweak the code myself for use -- it's wonderful that you are so quick.

Domosan