Hello
I'm new to scripting, and something I've been trying to put together is giving me trouble. I want an alias that will execute a series of commands, but out of the five the first three require a variable to be true. It's the same variable for each one. After each command, the variable will go to false.
What I was hoping for is something like a "WaitFor" function where the script halts and waits for the prerequisite condition (the variable = 1).
However, I cannot find this or even know if this is possible or extant. Thus I cam here for help.
Thank you in advance.
I'm new to scripting, and something I've been trying to put together is giving me trouble. I want an alias that will execute a series of commands, but out of the five the first three require a variable to be true. It's the same variable for each one. After each command, the variable will go to false.
What I was hoping for is something like a "WaitFor" function where the script halts and waits for the prerequisite condition (the variable = 1).
However, I cannot find this or even know if this is possible or extant. Thus I cam here for help.
Thank you in advance.