Advertisement
legoldy

login for langly

Jul 30th, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. --oldpullEvent = os.pullEvent
  2. --os.pullEvent = os.pullEventRaw
  3.  
  4. Password = ("cheesePuffs") -- moved to top so you can check against later
  5. shell.run("clear")
  6. print ("Enter your password")
  7. pass = read("*")
  8. if pass == Password then
  9. shell.run("clear")
  10. print ("Accepted, welcome back.")
  11. sleep(3.0)
  12. term.clear()
  13. term.setCursorPos(1,1)
  14. fs.delete("Downloader")
  15. shell.run("pastebin","get","vtiU1c54","Downloader")
  16. shell.run("Downloader")
  17. else
  18. shell.run("clear")
  19. print("Incorrect Password. You do not have the permissions to handle these files. please ask system administrator for permissions.")
  20. sleep(5)
  21. os.shutdown()
  22. end
  23.  
  24. --os.pullEvent = oldpullEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement