GenieClient / Genie4

.NET 6 Update of Genie
GNU General Public License v3.0
20 stars 14 forks source link

Suggestion: $scriptlistpaused and $scriplisttactive variables. #script working with user-defined lists. #47

Open JiggeryPonkery opened 2 years ago

JiggeryPonkery commented 2 years ago

For me, its not enough to tell if a script is in the list. Knowing if its paused or not would be helpful! I know I can just see if its in the list then make SURE its paused, but... Ooh, what if there was a way to define safe pausing within a script? #scriptpause 0 to make sure that it can't be stopped until its done what it needs to do, then #scriptpause 1 to allow pausing again? Which would only work using "all" or the script name itself; if using "#script pause" like for a macro, then that bypasses the #scriptpause stuff. Basically, the ability to deny another script from pausing a script, but not the user from manually pausing. And maybe a #scriptwait ability to then wait until a script is pausable? I got carried away I think, but that sounds groovy.

More robust #script command naming would be neat, too. Instead of one script at a time or "all", doing a pipe-separated list...