A very simple addon that helps you make working macros for the new tier based talents in 5.0.4 (MoP)
At least until they make #showtooltip able to handle the new system.
Technically you could do this kind of macro:
But then you are stuck with the issue that you wont have the correct icon/tooltip.
You could solve that problem by doing something like this
/run SetMacroSpell("MacroName",GetSpellInfo("ability1") or "ability2")
However the problem with that is that you have to click the macro once for it to update the icon/tooltip correctly.
This addon solves those issues completely and lets you make proper macros.
You simply make an empty macro with any icon but with the name "tier_#", where # is the number of the talent tier you want the macro for. (1-6, top to bottom), it is not case sensitive.
It does not matter if it is in the general or player specific macro section, though of course if you want it available cross-character then I would recommend putting in the general section.
Make sure you get the name right though, it won't work otherwise.
And that is it, the addon will do the rest.
What it does is that it edits your macro to the appropriate ability every time you swap a talent for that tier.
Note that you will most likely need to swap a talent for that tier or swap you spec for the macro to initialize, though this only has to be done the very first time.
Also make sure you do not have more than one macro per tier as it can cause issues.
Cpu usage is essentially zero if anyone was wondering, as it only operates when you swap a talent.
Update TOC for 5.3
Update TOC for 5.2
Update TOC for 5.1
Cleaned the code a bit. y u heff to be so good nebula169!
Fixed a minor issue that occurred when swapping characters.