Global skip = false
func hotkeyFunc ()
skip = true
endfunc
func instructions
;code
if skip = true then return
;code
if skip = true then return
endfunc
There is probably a better way, but that should work.
How is skipInstructions called? Usually your functions go at the end of the script. This makes it more readable. And you don't need to write call("funcNAme"); you can just write the name of the function.
A forum to share your cool scripts, User Defined Functions and AutoIt-based applications with others. You do not have to share the code if you do not wish to. See here.