AddInput() creates a text box paired with an action button. AddTextBox() and AddTextbox() are exact aliases of the same builder.
Standard input
Callback(text). Pressing Enter in the text box also submits the current text.
Toggle input
SetInternalInfo.Toggle = true to use the adjacent button as a boolean toggle:
Callback(state, text).
The behavior is:
Rich text
The action title and its description tooltip support Roblox rich-text markup by default:RichText = false on the input config or inside Info to opt out.
Configuration
Enables rich-text markup for the action title and description tooltip. Set to
false
to opt out. Info.RichText is also accepted.Adds a persisted startup flag to the context menu. The current input implementation does not execute the input callback automatically from that flag on startup.
Quick Commands
Standard input concatenates all arguments into the textbox value:on, true, 1, off, and false are recognized. Without a state prefix, the supplied arguments replace the textbox text and enable the toggle.