05.05.2023, 09:42
Use an event script instead of resident:
Code:
enabled = event.getvalue()
objs = grp.tag('Aufzeichnung')
for _, obj in ipairs(objs) do
grp.create({
address = obj.address,
log = enabled
})
end