Lua – if statement with two conditions on the same variable?
You should convert your string to a number, if you know for sure that it should be a number, and if there is no reason for it to be a string. Here’s how to do a comparison for a range: Notice the and. Most programming languages don’t expand the form x < y < z … Read more