I think Check.vgreater(....) is good. I'm no coder at all, but as long as it allows to compare one variable to multiple other ones at the same time (rather than doing it 1 by 1 or only by a constant value). I figured out a way to do it with default editor, but it is pain and makes wall of text. Thanks for the response. I'll look forward to seeing the new function added.
It has been done.
- Added Check.vgreater and Check.vlesser
See the github link in the main post or below for the new version.
Does combining Check.greater and Check.lesser work for you? Ex. Check.greater(1, 5) && Check.lesser(1, 10) to check if 5 <= variable 1 <= 10.
Otherwise, I'll investigate to see if this is an issue as soon as I'm free.
(edit: also, make sure you're getting this from github and not dropbox! dropbox may be a little outdated.)
That looks right, you can just do Check.any_inrange(486, 487, 488, 489, 490, 0, 0) instead though if you just want to check for 0!Hey, quick question. Would you be able to take a look at the conditional branch script I'm trying to get working, and let me know what I'm doing wrong?
I'm trying to check if any of variable 486-490 are equal to 0 or 1 (although, if there's a way to just check if any of them are equal to 0 instead, please let me know!).
Check.any_inrange(486, 487, 488, 489, 490, 0, 1)