User Login
Name
Password
Site Contents
News
About
Download
Scripts
Tutorials
Register
Support
FAQ
Script Reference
New User


Contact Me
Xide
Online Scripting Reference

getInput

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"



Return to item listing