hi all...
i have a hunter here..and i kindda new to macro especially vanilla macro..
so, here i got 2 questions
1) how do i write a macro if:
(first situation) when an enemy player come in my melee range..i want to change to actionbar 2 where i have all my melee skills there
(second situation) when he move away from me..it change back to actionbar 1 where i have all my range skills
2) look at this macro
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(3) then CastSpellByName("Auto Shot") end
should i replace the bold Castspellname there with a spell/skills from my spellbook or the macro is meant that way?