Logic Machine Forum
Event Script Trigger - 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 Trigger (/showthread.php?tid=3974)



Event Script Trigger - jmir - 05.04.2022

Hello,

Can an event script be triggered by two or more tags or groupaddresses?


RE: Event Script Trigger - admin - 05.04.2022

No, but you can create a function that is called from two or more scripts that are attached to a tag. This way there's no duplicate code.


RE: Event Script Trigger - jmir - 05.04.2022

(05.04.2022, 14:49)admin Wrote: No, but you can create a function that is called from two or more scripts that are attached to a tag. This way there's no duplicate code.

Ok, I'll do like this! Thanks!