11.10.2021, 09:37
Something like that would do, event script
Code:
value = event.getvalue()
mydata = storage.get('myobjectdata', 2)
if value then
if value ~= mydata then
--emial for on
end
else
if value ~= mydata then
--email for off
end
end
storage.set('myobjectdata', value)
------------------------------
Ctrl+F5
Ctrl+F5