Additionally, you can have the macro just not function in specific zones. By default, mine dont cycle if in pok/bazaar/lobby/hall so that if you die or are travelling, they dont work. Or if you forget.
You can also do downshits to pause/unpause a macro based on zone.