18.07.2016, 06:39
Create an event script attached to 1/1/2:
Code:
output '1/1/1'
storage_key = 'prev_value'
curr = event.getvalue()
prev = storage.get(storage_key)
if curr ~= prev then
grp.write(output, prev)
storage.set(storage_key, curr)
end