this is what i did(i seem to have a different script)
i thought they killed this functionality but it seems it still works with text devices (not in the logging)
Code: Select all
if txtcnt < ShowNextEvents then
stextformat = stextformat:gsub('ldesc',rdesc[web_afvaltype:upper().."_L"])
stextformat = stextformat:gsub('sdesc',web_afvaltype)
if txtcnt == 0 then
txt = txt..'<font color="red">'..stextformat..'</font>'.."\r\n"
txtcnt = txtcnt + 1
else
txt = txt..stextformat.."\r\n"
txtcnt = txtcnt + 1
end