03.04.2022, 18:33
(This post was last modified: 03.04.2022, 18:34 by Erwin van der Zwart.)
Replace — do something with:
if event.getvalue() == false then
— do something
end
or
value = event.getvalue()
if value >= 0 and value <= 50 then
— do something
end
if event.getvalue() == false then
— do something
end
or
value = event.getvalue()
if value >= 0 and value <= 50 then
— do something
end