Make script check between numbers

just a quick question but how do u make a script check between numbers like
if value = 0 through 2

if value >= 0 and value <= 2 then

Just use the correct operators and mix them with and.

3 Likes