There is a sort of workaround that you can use, but it only works if you use different talents during PvP. For example:
/use [talent:3/2] Tricks of the Trade; [talent:3/3] Shadowy Duel
In this case I normally use Deeper Stratagem, and trade it for Marked for Death when I go into PvP. So this macro uses Tricks of the Trade when I have my “pve” talent selected and uses Shadowy Duel when I have my preferred “pvp” talent selected. It’s not perfect but it does work.
I’m still new to the whole macro thing, and wow thing myself, so maybe someone else has a better solution.
Right because the condition set still returns true, so even it if can’t find the unit it still executes the /focus command.
If there’s no existence check (exists, help, harm, dead) then the game assumes the unit exists and therefore the condition returns true. So just like the previous example the /focus command still executes.
I am expecting the macro to work as it does for spells, i.e. to set my focus at a preset target, (in this case the focus).
of course you have no need of this normally, I am doing it to test the behavior of the @focus condition within the /focus command.
It doesn’t do that thou, it will set my focus to my current target (regardless if I have focus or not.)
When you take into account that the [@focus, exists] causes the focus to set/change only if you already have a focus, and the [@focus, noexists] only allows the focus to be set/change if I don’t have a focus; then the @focus in the /focus command only serves to be used as a testable condition and not as a targetable function (as it does when you use @focus condition within the /cast command).
to see if it behaved similar to /focus [@focus] and it seems too (it wouldn’t change to the named target if I already had a target)
So I’m guessing there is a special catch to ignore the standard usage and to allow conditions on whether you have a focus / target or not, which is actually pretty smart (as /focus [@focus] command working “as intended” is pretty pointless)
I myself work in a school, and having seen the really simple drag and drop learning to code programs I don’t think its out of the realms of possibility for Blizz to do something similar…
The text box editor can stay for those who want to do things a bit more complex… but for someone who just wants a simple modifier / conditional macro this would really help people make macros.