Skillerboy

Shutdoor

Oct 17th, 2021 (edited)
297
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("Lege bitte ALLE deine Items aus dem Inventar ab.Tippe Ja")
  4. local input = read("*")
  5. if input == "Ja" then
  6.     print("Trete ein!")
  7.     rs.setOutput("left", true)
  8.     sleep(5)
  9.     rs.setOutput("left", false)
  10.     os.reboot()
  11. elseif input == "ja" then
  12.     print("Trete ein!")
  13.     rs.setOutput("left", true)
  14.     sleep(5)
  15.     rs.setOutput("left", false)
  16.     os.reboot()
  17. else
  18.     textutils.slowPrint("Falsche Eingabe")
  19.     sleep(5)
  20.     os.reboot()
  21. end
  22.  
RAW Paste Data