Pages: 1
How do you make it that you can not run a section of script if it will bring a variable down to below zero? Thanks
Offline
Wait. So if the variable is lower than 0, don't run?Or if the script will lower the variable lower than 0, don't run?They're fairly different.
I want it that if the script will lower the variable lower than 0, don't run.
okay, let's see. you'll have to know how much the script will change the variable by. lets call that x.if not (var < x)----run scriptif you don't know x, I'll have to see the code to write the script.