Logic Machine Forum
script being executed multiple times - 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: script being executed multiple times (/showthread.php?tid=2797)



script being executed multiple times - vbjorn - 18.08.2020

Hey guys,

every script i make is being executed twice when i test them

example script: 

value = event.getvalue()

if (value == true) then
  grp.write('11/0/0',true)
elseif (value == false) then
  grp.write('11/0/1',true)
end


any idea what's happening?


RE: script being executed multiple times - Daniel - 18.08.2020

Log the trigger object and check why it is send twice.