You can create a new input field by:
input (id, "content")
This function will opens a new menu that different with
menu. Same as
menu, the content string defines the look and content of the menu.
"title,in1,in2,...,in9"
title: Title of the menu (Attach @b at the end of title for a bigger menu or @i for an invisible menu)
in1 -
in9: The name for each input, leave it empty and let the commas visible to make an untitled input
It has its own hook. It called "input" hook. The input hook will executed when a player hits the "Okay" button that visible above the "Cancel" button or "Cancel" button itself.
Input has written
Categories
Player
Parameters
id: Player who clicked between the "Okay" or "Cancel" button
title: Title of the input menu the player clicked
data: Data of the selected input (table)
Info
on input menu button selection
Samples
Sample 1: A simple input menu for player
id.
input (id, "Sample Input Menu,Input 1,Input 2,Input 3")
Menu:
Sample Input Menu		
Input 1:	<input>
Input 2:	<input>
Input 3:	<input>
Sample 2: Another simple input menu for player
id.
input (id, "Sample Input Menu,,,,")
Menu:
Sample Input Menu
	<input>
	<input>
	<input>
Sample 3: Processing input menu actions using the input hook.
addhook ("input", "inputmenu")
function inputmenu (id, title, data)
	msg (player (id, "name") .. " has entered input 1 with " .. data[1] .. " in \"" .. title .. "\" menu")
end