Hmm. A custom event is basically similar to calling a function and -like you said- calling it again, would always be possible as long as the flowScript is actively running. One thing you can do, would be to check some kind of condition right after the event node, and continue only when that condition allow it. Here is an example of what I mean using a boolean variable, but the condition could be just about anything returning a boolean value.
[attachment file=”SwitchCondition.png”]