sys

sys.sys.alert

Declaration
lua
sys.alert(msg [, title [, timeout]])
Description
Show blocking alert dialog.
Parameters
`msg` (string) — alert message `title` (string, optional) — alert title `timeout` (number, optional) — auto-dismiss timeout in seconds
Return Values
none (blocks until dismissed)
Example
lua
sys.alert("Done!", "Success")
sys.alert("Auto close", "Info", 3)