value = event.getvalue()
if value > 0 and value < 10 then
--do something
elseif value > 10 and < 25 then
--do something
elseif value < 25 then
--do something
end
You can also use >= 10 instead of > 10 for example.
In the first example also the value 10 itself is included in the second example only every value higher then 10.
if value > 0 and value < 10 then
--do something
elseif value > 10 and < 25 then
--do something
elseif value < 25 then
--do something
end
You can also use >= 10 instead of > 10 for example.
In the first example also the value 10 itself is included in the second example only every value higher then 10.