I am trying to create a macro that casts inner focus if it is available and then Holyfire and i want it to cast holy fire if it is not available. This is what I have now but it is not working.
#Showtooptip Holy Fire
/cast Inner Focus
/run UIErrorsFrame:Clear()
/cast Holy Fire (Rank 3)
Still not working, it only casts the Innerfocus but it is not combining with the holy fire in this case (respeccing into shadow soon but bit emotionally invested in the problem now )
As mentioned such functionality doesn’t exist. Macros aren’t able to detect CDs of other spells. You can add conditional blocks to macros as I’m sure you’re aware or have seen, such as
/cast [noform] SpellName, which would only cast the spell if you weren’t in a form (shadowform) and would ignore the cast if you were in shadowform.