Page 1 of 1

Infinite wait in Scripts?

Posted: Sat Mar 23, 2024 3:43 pm
by kproth
While exploring what scripts can do, I realized when they are done running they turn off everything that they turned on. That's great, but what if I want it to run "forever" until I turn a Script function off? The "wait" popup doesn't have an "infinite hold" checkbox, which I assume means the syntax doesn't support an infinity option either.

Is there any reason not to add support for an infinite wait? I'd be willing to give it a go sometime if it makes sense to do. Obviously it would only make sense at the end of a script, since there's no mechanism I can see to tell it to move to the next step...

Re: Infinite wait in Scripts?

Posted: Sat Mar 23, 2024 4:02 pm
by MichelSliepenbeek
The maximum value you can enter for the "wait" is 595 Hours (which is 24,79 days).

The shows i run last no longer than 2 - 3 hours, so to me there is no difference between 595 hours and infinite. :) :D

Re: Infinite wait in Scripts?

Posted: Sat Mar 23, 2024 4:55 pm
by Yestalgia
So keen for the javascript rewrite of scripts in V5. It's going to be awesome.