[Setting] setting = client.setting.addTextbox(name, variableName, maxCharacters)


Adds a textbox in the UI

Parameters


name

string

The name of the setting in the UI

variableName

string

The name of the global variable that contains the setting value

[Optional] maxCharacters

integer

The maximum amount of letters in the textbox

Return Value


setting

Setting

The setting that was added