Wouldn't work without being a bot, the conditions would have to be constantly running or how would the macro know I'm behind a mob? So yeah what you are asking for is SE to make a legal bot.