Advertisement
sniki10

oVca

Aug 8th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. oldpullEvent = os.pullEvent
  2. os.pullEvent = os.pullEventRaw
  3.  
  4. print(" ")
  5. print("|| // ======== ||\\ //|| ||=======\ ======== ")
  6. print("|| // || || || \\ // || || | || ||")
  7. print("||// || || || \\ // || || | || ||")
  8. print("||\\ || || || \\// || ||=======/ || ||")
  9. print("|| \\ || || || || || || ||")
  10. print("|| \\ ======== || || || ======== ")
  11. print(" ")
  12. print(" By oVcaPolska")
  13. sleep(6)
  14. term.clear()
  15. term.setCursorPos(1,1)
  16. print("Ladowanie...")
  17. sleep(5)
  18. term.clear()
  19. term.setCursorPos(1,1)
  20. print("Witaj na komputerze naszej oVcy!")
  21. sleep(1)
  22. term.clear()
  23. term.setCursorPos(1,1)
  24. os.pullEvent = os.pullEventRaw
  25. a = "lama"
  26. write("Podaj haslo aby kontynuowac: ")
  27. b = read()
  28. if a==b then
  29. sleep(3)
  30. term.clear()
  31. term.setCursorPos(1,1)
  32. print("Identyfikacja zakonczona pomyslnie!")
  33.  
  34. else
  35. print("Nie jestes oVca!")
  36. sleep(5)
  37. term.clear()
  38. term.setCursorPos(1,1)
  39. print("Now you die!")
  40. sleep(5)
  41. os.reboot()
  42. end
  43.  
  44. sleep(2)
  45. term.clear()
  46. term.setCursorPos(1,1)
  47. lukasz = "lukasz"
  48. kuba = "kuba"
  49. adam = "adam"
  50. write("Wpisz nasze imiona: ")
  51. name = read()
  52.  
  53.  
  54. if name==lukasz then
  55. term.clear()
  56. print("Bardzo")
  57.  
  58. else
  59.  
  60. sleep(1)
  61. term.clear()
  62. term.setCursorPos(1,1)
  63. print("Nie znamy cie!")
  64. sleep(1)
  65. term.clear()
  66. term.setCursorPos(1,1)
  67. os.reboot()
  68.  
  69. end
  70. name2 = read()
  71. if name2==kuba then
  72. term.clear()
  73. print("Bardzo")
  74. print("Cie")
  75.  
  76. else
  77.  
  78. sleep(1)
  79. term.clear()
  80. term.setCursorPos(1,1)
  81. print("Nie znamy cie!")
  82. sleep(1)
  83. term.clear()
  84. term.setCursorPos(1,1)
  85. os.reboot()
  86.  
  87. end
  88. name3 = read()
  89. if name3==adam then
  90. term.clear()
  91. print("Bardzo")
  92. print("Cie")
  93. print ("Witamy!")
  94. sleep(1)
  95. term.clear()
  96. term.setCursorPos(1,1)
  97. print("Wybierz program!")
  98. print("Wpisz ,,lista,, aby zobaczyc liste dostepnych menu")
  99. print("Wpisz ,,koniec,, aby wylaczyc komputer")
  100.  
  101. else
  102.  
  103. sleep(1)
  104. term.clear()
  105. term.setCursorPos(1,1)
  106. print("Nie znamy cie!")
  107. sleep(1)
  108. term.clear()
  109. term.setCursorPos(1,1)
  110. os.reboot()
  111.  
  112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement