sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
25 stars 45 forks source link

Support custom filters for specific channels #101

Closed chrishenzie closed 4 years ago

chrishenzie commented 4 years ago

It would be nice to support custom filters for specific channels, not just all channels. For example, I would like to be able to block all messages containing "WTS|WTB" inside the "LookingForGroup" chat. Is this possible?

sylvanaar commented 4 years ago

You mind trying out the alpha?

https://www.wowace.com/projects/prat-3-0/files/2980673

chrishenzie commented 4 years ago

Just tried it out now, using my existing prat config.

Is the goal to provide a "Chatframe" and "Sub section" for the "Search Channels" section similar to what's in "Output"? Let me know if you need any other details.

sylvanaar commented 4 years ago

Had to revert for now - but the idea was that the channel names just appeared in the list of channels - like Party, Raid - etc. You can still refer back to the version I linked and we can work through the issues.

sylvanaar commented 4 years ago

Is the goal to provide a "Chatframe" and "Sub section" for the "Search Channels" section similar to what's in "Output"? Let me know if you need any other details.

No - you create an output frame, and turn off all the chat channels on that frame - then we manually push messages there:

Example:

chrishenzie commented 4 years ago

What I'm looking to do is filter out certain patterns from a specific chat channel. From my understanding it looks like if you select "Channel" in "Search Channels" it applies that filter to every channel you've /joined.

Is there a way for me to say, "Block WTS / WTB from showing up in the LookingForGroup channel, but let it show up in Trade"? It seems like right now if I added this filter it would prevent this pattern from showing up in any channel.

sylvanaar commented 4 years ago

Yes I will have to add it as a feature and there are some complexities I have to deal with

sylvanaar commented 4 years ago

So, the UI for the options is kinda lousy, basically CHANNEL will still be available and will act as the defualt value for alll channels, however once you set a value for a particular channel, that channel will use its own option instead of the one for CHANNEL.

Please try the options out and see if you can make sense of them

sylvanaar commented 4 years ago

Please try the alpha and let me know if you see any issues

github-actions[bot] commented 4 years ago

This issue was flagged as stale