See the Semaphore Lock action.
Semaphore Lock for Dummies
You can use it to prevent a macro from being repeated.
For more information, see the wiki Searching the Forum for Answers section.