Message Box
ui.MsgBox
The following Lua script illustrates an example of showing a message box.
Lua
-- Puts the current time and date into a variable
-- and then shows a message box for it.
local buf = os.date('%Y-%m-%d %H:%M:%S')
ui.MsgBox("The date and time are " .. buf .. ".", "Info")
ui.MsgBox("This is a message box without a title.")
In the first call, the window caption is passed in which will display any string you provide it. If you use the overload without passing in the title then the default box contains the title "Information".