![]() |
|
Line Break - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Line Break (/showthread.php?tid=3401) |
Line Break - DGrandes - 04.06.2021 Hi!! 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! RE: Line Break - admin - 04.06.2021 Some extra CSS is needed, see this: https://forum.logicmachine.net/showthread.php?tid=1081&pid=6412#pid6412 RE: Line Break - DGrandes - 24.06.2021 Thanks so much!!! It works |