05.12.2023, 16:06
Like that
Code:
require("user.telegram")
messageON = 'Something is ON'
messageOFF = 'Something is OFF'
value = event.getvalue()
if value then
telegram(messageON)
else
telegram(messageOFF)
end
------------------------------
Ctrl+F5
Ctrl+F5