Files
aiolauncher_scripts/args-test2.lua
2021-08-03 11:40:33 +03:00

14 lines
325 B
Lua

-- arguments_help = "The word recorded here will be displayed on the screen."
-- arguments_default = "Word"
function on_resume()
aio:set_args({"Word#1", "Word#2"})
local args = aio:get_args()
if args == nil then
ui:show_text("args is empty")
else
ui:show_text("arg1: "..args[1])
end
end