Advertisement
Alex1987

Untitled

Sep 15th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local side = "right"
  2. local Antwort1 = "Ja"
  3. local Antwort2 = "Nein"
  4. local opentime = 3
  5. local left = "left"
  6. local master = "config"
  7.  
  8. while true do
  9. term.clear()
  10. term.setCursorPos(1,1)
  11. print(" ")
  12. print(" ")
  13. print(" ")
  14. print(" ")
  15. print(" Ist Γ–mer Schlau? (Ja / Nein)")
  16. write(" Antwort:")
  17. local input = read(" ")
  18.  
  19. if input == Antwort1 then
  20. term.clear()
  21. print("Falsch")
  22. print(" Falsch")
  23. print(" ")
  24. sleep(1.0)
  25. print(" Falsch")
  26. print(" ")
  27. print(" ")
  28. sleep(1.0)
  29. print(" Falsch ")
  30. print(" ")
  31. sleep(1.0)
  32. print(" Falsch")
  33. print(" ")
  34. sleep(1.0)
  35. print(" Falsch ")
  36. sleep(5.0)
  37. os.reboot()
  38. elseif input == Antwort2 then
  39. term.clear()
  40. print(" ")
  41. print(" ")
  42. textutils.slowWrite(" The Fappening Password System 3.0", 15)
  43. sleep(1.5)
  44. term.clear()
  45. print(" ")
  46. print(" ")
  47. print(" Richtig!")
  48. rs.setOutput(side, true)
  49. rs.setOutput(left, true)
  50. sleep(opentime)
  51. rs.setOutput(side, false)
  52. rs.setOutput(left, false)
  53. os.reboot()
  54. else
  55. term.clear()
  56. term.setCursorPos(1,1)
  57. print(" ")
  58. print(" ")
  59. print(" ")
  60. print(" Antworte mit Ja oder Nein ")
  61. sleep(1)
  62. end
  63. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement