Advertisement
Alex1987

Untitled

Sep 15th, 2014
146
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. write(" Ist Γ–mer Schlau? (Ja / Nein)")
  16. local input = read(" ")
  17.  
  18. if input == Antwort1 then
  19. term.clear()
  20. print("Falsch")
  21. print(" ")
  22. print(" ")
  23. sleep(1.0)
  24. print(" Falsch")
  25. print(" ")
  26. print(" ")
  27. sleep(1.0)
  28. print(" Falsch ")
  29. print(" ")
  30. sleep(1.0)
  31. print(" Falsch")
  32. print(" ")
  33. sleep(1.0)
  34. print(" Falsch ")
  35. sleep(5.0)
  36. os.reboot()
  37. elseif input == Antwort2 then
  38. term.clear()
  39. print(" ")
  40. print(" ")
  41. textutils.slowWrite(" The Fappening Password System 3.0", 15)
  42. sleep(1.5)
  43. term.clear()
  44. print(" ")
  45. print(" ")
  46. print(" Richtig!")
  47. rs.setOutput(side, true)
  48. rs.setOutput(left, true)
  49. sleep(opentime)
  50. rs.setOutput(side, false)
  51. rs.setOutput(left, false)
  52. os.reboot()
  53. else
  54. term.clear()
  55. term.setCursorPos(1,1)
  56. print(" ")
  57. print(" ")
  58. print(" ")
  59. print(" Antworte mit Ja oder Nein ")
  60. sleep(1)
  61. end
  62. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement