Originally Posted by 'Shadrach',index.php?page=Thread&postID=37194#post 37194
What I'm trying to do is change the function of a macro based on who has focus at the time.
For instance: With Focus set to H1 (H1 == Hunter1), when I push the '3' key, H1 casts Hunter's Mark, while the others (H2&H3) to set '/target focustarget'
However, if I change the Focus (either when someone dies, or I decide H2 needs to be the leader, after the focus change, H2 would cast the Hunter's Mark, while H1 & H3 would '/target focustarget'
Basically that when a hunter detected that he was the focus, he would cast hunter's mark while everyone else assisted off of him.
More Pseudo-Code like:
/cast [<if player is the focus>] Hunter's Mark; <if player is not the focus> target focustarget