Event script - get previous value before current one? - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Event script - get previous value before current one? (/showthread.php?tid=3534) |
Event script - get previous value before current one? - morkovka - 30.08.2021 Hi, Is there a way in an event script to retrieve the previous value of the event? I have an on/off object and want to know, for example if I receive an 'off' and read it with event.getvalue(), to see whether previously it was 'on' or 'off' before deciding on the subsequent logic. RE: Event script - get previous value before current one? - admin - 30.08.2021 See this: https://forum.logicmachine.net/showthread.php?tid=347 RE: Event script - get previous value before current one? - morkovka - 30.08.2021 Thanks! |