Heya! This is a pretty... advanced kinda topic, but I was wondering if it could possibly be implemented into the Macro system somehow.
Essentially, adding Conditional Branches in Macro commands. These would be:
/if - If the following string is true, execute the /then command.
/then - If a previous /if string is true, the command following this command is executed.
/else - If the previous /if string is false, the command following this command is executed.
This will essentially add a VERY rudimentary set of logic-based commands to allow for more complex macro-making.
Let's say, for example, a Scholar wants to debuff the tank's target through <tt>, but requires concentration to keep the tank healed at the same time. A macro for debuffing with this Conditional Branch system may look like this.
/if <tt> buff "Immunity"
/then /ac "Miasma" <tt>
/else /ac "Virus" <tt>
Translating to English, if the Tank's Target has Immunity, Miasma will be cast on the Tank's Target. Otherwise, Virus will be cast on the Tank's Target.
Or if a Warrior wants to make an intelligent macro for some of his Enrage-consuming abilities:
/if <me> buff "Enraged"
/then /if <me> HP=<50%
/then /ac "Inner Beast" <t>
/else /if <attack2> Enmity=False
/then /ac "Steel Cyclone" <attack2>
/else /ac "Unchained" <me>
/else /ac "Infuriate" <me>
Translating to English, if you have the "Enraged" buff (Five Stacks of Wrath), and if your HP is less than or equal to half, then you will use "Inner Beast" on your target. If your HP is not less than or equal to half, and if an enemy you're not attacking is not attacking you (assuming the "Attack1" and "Attack2" signs are being used), you will use "Steel Cyclone" on that enemy. If that enemy is attacking you, you'll use Unchained instead. If you do not have the "Enraged" buff, you will use "Infuriate".
If an /if command is used by itself, nothing would happen. Same with /then and /else, as at least /if and /then would have to be used, with /else being optional.
It's kinda advanced stuff, but stuff I think would be fantastic to see!