All scripts view - simple question

Why do some scripts in the all scripts view have an ON/OFF slider switch and some have EXECUTE?

Like I said in the title, simple question. And I feel like I will kick myself when I find out the answer.

Any script with a delay in it has a toggle switch so that you can turn it off during its run if required.

If you don’t want the toggle you can set can_cancel to false under customize.

1 Like

Thanks, it wasn’t such a stupid question. I had no idea about any of that!

[After further thought…]
But that does raise the question, how can you stop a script from the frontend that is running and has a wait_template?

By toggling it off :confused:

Hang on… I’ll just get my eyes tested…
I was sure I had a script with a wait_template that just had EXECUTE and no toggle.

Obviously I didn’t.:confounded:
Sorry for wasting your time.