The simplest way to skip the triggering of a
<<timed>> macro is to simply check a “flag” within that macro to see if the execution should be skipped. For example:
<<set _skipit = false>><<button "Skip Event">><<set _skipit = true>><</button>>
<<run alert("Event wasn't skipped!")>>
The “!” means “not”, so if
_skipit is set to
false, then it will show the alert message. However, if you click the “Skip Event” button before the 5 seconds is up, then that will set
true, preventing the alert message from being shown when the
<<timed>> event occurs.
While it doesn’t prevent the
<<timed>> event from triggering, it does prevent that event from doing what it normally does.
Also, keep in mind that going to another passage actually cancels any
<<timed>> events that haven’t triggered yet.
Hope that helps!
P.S. If you want to display anything inside a
<<...>> in this forum, you’ll need to select that text and click the “Preformatted text” button (the
</> button) so the forum will show what’s inside. If you look at your post, you can see that it shows “skip a <> macro”, due to the forum software removing the contents of the macro.