So i tried a bunch of times to make a macro that basically if your target is not buffed mark of the wild and thorns, it'll cast mark of the wild and thorns on them. I use the If not buffed command and it works, i can cast it on me and it doesn't recast if i'm already buffed, but the part where it doesn't work, is when i target an other player and try it on them, it just does nothing, i think it stills checks on me if the buff is there and doesn't apply it but then when i add the command in the macro to check if the target is buffed and i try to buff myself, it just cast mark of the wild non stops...
/run if not buffed("Mark of the Wild") then CastSpellByName("Mark of the Wild"); end
/run if not buffed ("Thorns") then CastSpellByName("Thorns"); end
Here's the macro that only casts on me, it refuses to buff other players...