Files
aiolauncher_scripts/samples/msg-sender.lua
2022-07-22 09:50:33 +03:00

18 lines
344 B
Lua

function on_resume()
ui:show_lines{
"send text",
"send 123",
"send table",
}
end
function on_click(idx)
if idx == 1 then
system:send_message("text", "msg-receiver.lua")
elseif idx == 2 then
system:send_message(1)
else
system:send_message{ "one", "two", "three" }
end
end