(I) I want to completly reset a macro under certain conditions (I have a macro that sometimes runs away with itself... it's a long story).
The conditions can be any key I hit, or if I target myself, etc. Something unique that won't happen by accident.
I thought of :
1) target myself
2) detect that via an event
3) in the sub that runs as a result of the event, I reset and then...
4) RETURN TO the top of the macro. Is there are 'return to' available, that would clear the subroutine stack and go where you tell it?
OR... something else that you can come up with to do what I'd like. Something that would emulate a /endmacro and /mac xxxx, but without ending, of course.
(II) Is there a way to tell if you are underwater?
TIA
The conditions can be any key I hit, or if I target myself, etc. Something unique that won't happen by accident.
I thought of :
1) target myself
2) detect that via an event
3) in the sub that runs as a result of the event, I reset and then...
4) RETURN TO the top of the macro. Is there are 'return to' available, that would clear the subroutine stack and go where you tell it?
OR... something else that you can come up with to do what I'd like. Something that would emulate a /endmacro and /mac xxxx, but without ending, of course.
(II) Is there a way to tell if you are underwater?
TIA