This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to get group address from tag
#1
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
Reply
#2
Hi,

event.dst gives you the address that triggers the script

BR,

Erwin
Reply
#3
Code:
log ((grp.find(event.dst).address ..' ')..(grp.find(event.dst).comment))

Probably a better way to do it, but this works Smile

Best regards, Jørn.
Reply
#4
Thanks Erwin and Jørn

Works like a charm!
Reply


Forum Jump: