lego11

Untitled

Sep 4th, 2014
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1.  
  2.  
  3. os.pullEvent = os.pullEventRaw
  4. while true do
  5. term.clear()
  6. term.setCursorPos(1, 1)
  7. print("Welcome to Aperture Doomsday Device!")
  8. print("")
  9. print("Per disattivare Aperture Doomsday Device(TM) inserire le 10 parole d'ordine")
  10. print("")
  11. print("Parola d'ordine 1:")
  12. input = read("#")
  13. if input == "lynnfield" then
  14. term.clear()
  15. term.setCursorPos(1, 1)
  16. print("Parola d'ordine 2:")
  17. input = read("#")
  18. if input == "nehalem" then
  19. term.clear()
  20. term.setCursorPos(1, 1)
  21. print("Parola d'ordine 3:")
  22. input = read("#")
  23. if input == "league" then
  24. term.clear()
  25. term.setCursorPos(1, 1)
  26. print("Parola d'ordine 4:")
  27. input = read("#")
  28. if input == "anakin" then
  29. term.clear()
  30. term.setCursorPos(1, 1)
  31. print("Parola d'ordine 5:")
  32. input = read("#")
  33. if input == "neihemiah" then
  34. term.clear()
  35. term.setCursorPos(1, 1)
  36. print("Parola d'ordine 6:")
  37. input = read("#")
  38. if input == "d6" then
  39. term.clear()
  40. term.setCursorPos(1, 1)
  41. print("Parola d'ordine 7:")
  42. input = read("#")
  43. if input == "lambda" then
  44. term.clear()
  45. term.setCursorPos(1, 1)
  46. print("Parola d'ordine 8:")
  47. input = read("#")
  48. if input == "darthvader" then
  49. term.clear()
  50. term.setCursorPos(1, 1)
  51. print("Parola d'ordine 9:")
  52. input = read("#")
  53. if input == "halflife" then
  54. term.clear()
  55. term.setCursorPos(1, 1)
  56. print("Parola d'ordine 10:")
  57. input = read("#")
  58. if input == "2033" then
  59. term.clear()
  60. term.setCursorPos(1, 1)
  61. print("DOOMSDAY DEVICE DISATTIVATO")
  62. redstone.setOutput("back", true)
  63. sleep(1)
  64. redstone.setOutput("back", false)
  65. elseif input == "lilli" then
  66. term.clear()
  67. term.setCursorPos(1, 1)
  68. print("Password root accettata")
  69. print("Welcom to BASH - Bourne-Again-SHell")
  70. break
  71. else
  72. print("Password errata - Terminale bloccato")
  73. print("Verrai ora distrutto")
  74. redstone.setOutput("top", true)
  75. sleep(15)
  76. redstone.setOutput("top", false)
  77. end
  78. end
  79. end
  80. end
  81. end
  82. end
  83. end
  84. end
  85. end
  86. end
  87. end
Advertisement
Add Comment
Please, Sign In to add comment