Hi!!
Im trying to write on a 255byte string all my alarms but line break doesn´t work. Any Idea?
The code is:
Thanks!
Im trying to write on a 255byte string all my alarms but line break doesn´t work. Any Idea?
The code is:
Code:
res = {}
objs = grp.tag('alarm')
for _, obj in ipairs(objs) do
if obj.value then
grp.update('33/1/21', "¡¡¡IMPORTANTE REVISAR LAS ALARMAS!!!")
res[#res + 1] = '¡ALARMA! - ' .. obj.name
end
end
text = table.concat(res, '\n')
Thanks!