Event script - prohibit script execution - 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 - prohibit script execution (/showthread.php?tid=5793) |
Event script - prohibit script execution - FatMax - 16.12.2024 Is it possible to update a value for a GA without running the associated event script? RE: Event script - prohibit script execution - Daniel - 16.12.2024 Please explain what is the task. RE: Event script - prohibit script execution - FatMax - 16.12.2024 That got me thinking - perhaps I should think this over. RE: Event script - prohibit script execution - AEK - 23.12.2024 (16.12.2024, 10:54)FatMax Wrote: Is it possible to update a value for a GA without running the associated event script? in script you can get value of telegram (event.getvalue()), address of devise which send this telegram (event.dst) and get sender (app or daemon from logicmachine) event.sender these values could be used to stop script: if (your condition) then return end if your telegram is from another script you can set your own sender. grp.sender = 'my' grp.write..... then yo can check like that if (event. sender == 'my') then return end |