This macro basically tells the pet to attack only if you are not engaged in combat. If you are engaged, the pet will maintain its target while the one you want marked get's marked. This would be used for your opening pull spell without the aggravation of your pet attacking a target before you wish it to.
(replace the # with the rank you want to use)
/script if UnitExists("Pet") and not PlayerAttackIcon:IsVisible() then CastSpellByName("Hunter's Mark(Rank #)"); PetAttack(); elseif PlayerAttackIcon:IsVisible() or PetFrame.InCombat then CastSpellByName("Hunter's Mark(Rank #)"); end
__________________ If not yourself, who can you count on...