Script Function ReferenceFunction Reference >Script Function Reference >Console Functions>readStringreadStringreadString recieves an input string from the user in the prompt.
readString()
ParametersreadString has no parametersReturn ValuereadString will return the string entered by the user.Examplefunction example() outputString("Enter a string\n: ") string = readString() clearOutput() outputString("You entered " .. string) end |