This library creates a chat filter for every single chat event. It calls Ambiguate(player, "none") to remove the server name from player names.
The point of this library is to have its filters be the ones that run first, so that all subsequent filters from other addons receive the player name with the server trimmed off.
This saves every single addon using chat filters from needing to trim server names to use unit functions such as UnitInRaid, UnitClass, etc, which don't work when passing player names with your *own* server name appended to it.
With any luck these unit functions will accept names with your server appended to them in a future WoW patch. If that happens, then this library can be killed off. It's an easier approach than modifying every addon using chat filters to remove any trimming functionality.
- Date created
- Feb 21, 2014
- Last update
- Apr 14, 2014
- Development stage
- CC BY-NC-SA 3.0
- Curse link
- Recent files