End macro when dead?

How would I end a macro when I die?
Lot of ways. :)

Could just do something like: /if (${Me.Dead}) /endmac

I think hover state is included in that, but if not, could always try:

/if (${Me.State.Equal[DEAD]} || ${Me.State.Equal[HOVER]}) /endmac

htw
 
Oh, forgot, you can also add to check if a mac is running, so it don't give ya the goob no mac running message in MQ2 window.

I.e. add in check for both those like: ${Macro.RunTime}>0 or ${Macro.Name.Length}>0

htw