How to get group address from tag - 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: How to get group address from tag (/showthread.php?tid=1351) |
How to get group address from tag - mischa - 23.04.2018 Hi, I have a script triggered by a tag, is there a way to tell which of the group addresses attached to this tag triggered the script? want to know the group address and content of the comment string. Thanks, Mischa RE: How to get group address from tag - Erwin van der Zwart - 23.04.2018 Hi, event.dst gives you the address that triggers the script BR, Erwin RE: How to get group address from tag - Jørn - 23.04.2018 Code: log ((grp.find(event.dst).address ..' ')..(grp.find(event.dst).comment)) Probably a better way to do it, but this works RE: How to get group address from tag - mischa - 23.04.2018 Thanks Erwin and Jørn Works like a charm! |