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 whether you accept or reject these cookies being set.

Event Script assosiated grp_address

Can anyone help me with the LUA script for the assosiated Group address?.
For group address 1/1/1,  I have a event script. I need the variable Test to be "1/1/1"

Something like:
Test = script.params(_SCRIPTNAME)
log(Test)   --- Which should log 1/1/1

This I would like to log the assosiated group address.. But I can't fint the LUA for this
Plan is to copt many Scripts, and refer to the original grp.adress, and then if XX write grp.adress + eg. 10 without editing inside the script.
event.dst contains group address that executed the script

If you need multiple scripts doing the same logic you should use one script mapped to a tag instead.
Worked Perfectly.
event.dst with the use og tag was just what I was looking for.

Thanks again admin :-)

Forum Jump: