use a variable. Paraphrased, and not spellchecked:
on *:text:!funoff:#:{
set a variable of your choice here
}
on *:text:!funon:#:{
set the same variable for fun off
}
Then, in all of your fun scripts:
on *:text:!funscript:#:{
if (funvariable) { return }
else {
-do whatever the fun script is supposed to do here-
}
}
repeat per fun script. Again... This is not actual/correct script syntax, this is basically an outline. I assume that one already knows how to add ontext code blocks, and check/set variables within them.