Advertisement
AdventurousMR

BASE_OS input

Aug 7th, 2022 (edited)
830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. --Base OS Input-- --AdventurousMR--
  2.  
  3. function userInput()
  4.     local userInput = read()
  5.    
  6.     if string.lower(userInput) == "" then
  7.        
  8.     else
  9.         userInput()
  10.     end
  11. end
  12.  
  13. term.clear()
  14. term.setCursorPos(1,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement