sys

sys.sys.input_box

Declaration
lua
sys.input_box(title, msg, type, default)
Description
Show input dialog with text field.
Parameters
`title` (string) — dialog title `msg` (string) — message `type` (number) — keyboard type `default` (string) — default value
Return Values
`string` — entered text `number` — button index
Example
lua
local text, btn = sys.input_box("Enter Name", "Your name:", 0, "")