Automatically target new enemy when current one is dead

Hello!

I remember using a macro a couple years ago, that would allow me to automatically target a new target if my current one dies, but can’t find it.
Anyone knows how to write a macro like that?

/cleartarget [dead] [noharm]
/startattack

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.