PrometeoPrime

Prometeo login sistem 1.0

Apr 19th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. local password = "pollo"
  3. textutils.slowPrint("Insert the password: ")
  4. local input = read("*")
  5. if input == password then
  6. term.clear()
  7. term.setCursorPos(1,1)
  8. textutils.slowPrint("Insert your nickname: ")
  9. local name = read()
  10. term.clear()
  11. term.setCursorPos(1,7)
  12. print(" 00000 ...Loading... 00000")
  13. sleep(0,5)
  14. term.clear()
  15. term.setCursorPos(1,7)
  16. print(" 0000 ...Loading... 0000")
  17. sleep(0,5)
  18. term.clear()
  19. term.setCursorPos(1,7)
  20. print(" 000 ...Loading... 000")
  21. sleep(0,5)
  22. term.clear()
  23. term.setCursorPos(1,7)
  24. print(" 00 ...Loading... 00")
  25. sleep(0,5)
  26. term.clear()
  27. term.setCursorPos(1,7)
  28. print(" 0 ...Loading... 0")
  29. sleep(0,5)
  30. term.clear()
  31. term.setCursorPos(1,7)
  32. print(" 00 ...Loading... 00")
  33. sleep(0,5)
  34. term.clear()
  35. term.setCursorPos(1,7)
  36. print(" 000 ...Loading... 000")
  37. sleep(0,5)
  38. term.clear()
  39. term.setCursorPos(1,7)
  40. print(" 0000 ...Loading... 0000")
  41. sleep(0,5)
  42. term.clear()
  43. term.setCursorPos(1,7)
  44. print(" 00000 ...Loading... 00000")
  45. sleep(1)
  46. term.clear()
  47. term.setCursorPos(1,7)
  48. print(" 0000 ...Loading... 0000")
  49. sleep(0,5)
  50. term.clear()
  51. term.setCursorPos(1,7)
  52. print(" 000 ...Loading... 000")
  53. sleep(0,5)
  54. term.clear()
  55. term.setCursorPos(1,7)
  56. print(" 00 ...Loading... 00")
  57. sleep(0,5)
  58. term.clear()
  59. term.setCursorPos(1,7)
  60. print(" 0 ...Loading... 0")
  61. sleep(0,5)
  62. term.clear()
  63. term.setCursorPos(1,7)
  64. print(" 00 ...Loading... 00")
  65. sleep(0,5)
  66. term.clear()
  67. term.setCursorPos(1,7)
  68. print(" 000 ...Loading... 000")
  69. sleep(0,5)
  70. term.clear()
  71. term.setCursorPos(1,7)
  72. print(" 0000 ...Loading... 0000")
  73. sleep(0,5)
  74. term.clear()
  75. term.setCursorPos(1,7)
  76. print(" 00000 ...Loading... 00000")
  77. sleep(1)
  78. term.clear()
  79. term.setCursorPos(1,7)
  80. textutils.slowPrint(" Access Granted. Welcome "..name.." ")
  81. sleep(3)
  82. term.setCursorPos(1,1)
  83. term.clear()
  84. else
  85. textutils.slowPrint(" ACCESS DENIED - Incorrect password, try again.")
  86. sleep(2)
  87. term.clear()
  88. term.setCursorPos(1,1)
  89. shell.run("reboot")
  90. end
Advertisement
Add Comment
Please, Sign In to add comment