Advertisement
CelticCoder

userInput

Nov 13th, 2023 (edited)
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.07 KB | None | 0 0
  1. function getUserInput(prompt)
  2.   write(prompt .. ": ")
  3.   return read()
  4. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement