It looks like you're new here. If you want to get involved, click one of these buttons!
<<if $Percent is 1-50>>Thing!<<endif>><<if $Percent is 50-100>>Other thing!!<<endif>>
<<if $Percent is gt 1>><<if $Percent is lt 50>>Thing!<<endif>><<endif>><<if $Percent is gt 50>><<if $Percent is lt 100>>Other thing!<<endif>><<endif>>
Comments
You need to be careful, too, because in your second example, if $Percent is either 1, 50 or 100, you don't actually execute any of the ifs. Also, I'm pretty sure you should use either "is" or "gt", not both at the same time.
I suggest you read this
If the number is greater than or equal to 50, it will put out "Other Thing!!". Otherwise, it will output "Thing!". This is because if the first statement is true, it executes the contents and closes out the if statement. If it isn't, then it will move on and check the next thing.
If you expect your values to always be between 1 and 100, this fulfills the same function with a lot less clutter.
I read this before but somehow completely skipped over "and" statements without realizing it! Thanks so much, this is really helpful!