Description
Retiring! Please use ChannelColours instead
Tired of having to drag addon channels to the end of your channel list?
Sick of finding that /1 now points to your Musician or TRP channel?
I was. I made this. It's now yours to use as well.
How to do:
It's fire-and-forget, or (install-and-ignore).
Blizzcode might shuffle your other community channels around when this is updated, but in testing this only seemed to happen the first time.
If this becomes enough of an issue to folks, I don't mind taking requests to add community channels to the list as well.
Known issues
Sometimes Musician's own tricky coding to get past the SpaghettiBlizzard will force Musician into a higher ranked channel again. Fixes on /reload.
For the dev-minded:
Logic is simple, it tracks which addon channels and priority channels (General, Trade - City, Trade (Services) - City, LocalDefense, LookingForGroup) the user has as locals.
Then it counts the number of channels the user has and uses C_ChatInfo.SwapChatChannelsByChannelIndex() to assign the addon channels to the end numbers, and the priority channels as the first numbers. Community channels settle automagically into the middle terrain.
Legalish
CC-BY-4.0. If you want to scoop it out whole for use in your project, go for it. Just remember to credit me for that section.


