Skip to content

getInput

MicroBlaster edited this page Nov 10, 2019 · 2 revisions

Purpose: Gets a line of text from the user.

Syntax: getInput var {prompt}

var: A variable to hold the line of text entered by the user.

{prompt}: The text to display above the input prompt.

Notes: This command is similar to getConsoleInput, although it automatically displays a message above the prompt and has no support for single-key input.

Execution of the script will be paused while this command is active. Closing of the menu created by the command will terminate the script.

Example:

# input parameters
getInput $sectorNumber2 "Enter other sector to SSM from"
getInput $holds "Enter max holds to steal"

Clone this wiki locally