You may prompt the user for data using the prompt or promptmask commands. This is useful in cases where your script files require some user interaction to provide information needed in running the script. Information is then stored in a variable available use later in the script.
// prompts user for username and stores in username variable
prompt username "Enter the username: "
// username entered is displayed
msg "Username entered is ${username}"