-- для вывода каждый список в консоле
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
local textNoHex = text:gsub('{%x%x%x%x%x%x}', '')
for listitem, message in textNoHex:gmatch('[^\n]+') do
print(string.format('%d = "%s"', listitem, message))
--...