15.04.2020, 05:58
You can also store text in a 250-byte object. Use an event script attached to alarm tag, change 32/1/1 as needed:
Code:
res = {}
objs = grp.tag('alarm')
for _, obj in ipairs(objs) do
if obj.value then
res[ #res + 1 ] = obj.name .. ' is ON'
end
end
text = table.concat(res, '\n')
grp.update('32/1/1', text)