ahellhound

MC Door

Aug 10th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.01 KB | None | 0 0
  1. correctpass = "stew"
  2. incorrect1 = "yes"
  3. incorrect2 = "no"
  4. incorrect11 = "Yes"
  5. incorrect21 = "No"
  6.  
  7. write("Are You AhellHound? ")
  8.  
  9. answer = read()
  10.  
  11. if answer == (incorrect1) then
  12. print("You're Not AhellHound, Fuck Off!")
  13. sleep(3)
  14. print("System Shutting Down...")
  15. sleep(2)
  16. os.shutdown()
  17. elseif answer == (incorrect11) then
  18. print("You're Not AhellHound, Fuck Off!")
  19. sleep(3)
  20. print("System Shutting Down...")
  21. sleep(2)
  22. os.shutdown()
  23. elseif answer == (incorrect2) then
  24. print("Okay, Then Fuck Off!")
  25. sleep(3)
  26. print("System Shutting Down...")
  27. sleep(2)
  28. os.shutdown()
  29. elseif answer == (incorrect21) then
  30. print("Okay, Then Fuck Off!")
  31. sleep(3)
  32. print("System Shutting Down...")
  33. sleep(2)
  34. os.shutdown()
  35. elseif answer == (correctpass) then
  36. print("Correct! Come In AhellHound.")
  37. redstone.setOutput("left",true)
  38. sleep(3)
  39. print("System Shutting Down...")
  40. sleep(2)
  41. os.shutdown()
  42.  
  43. else
  44. print("Please Type 'Yes' or 'No' As Your Answer")
  45. sleep(3)
  46. print("System Shutting Down...")
  47. sleep(2)
  48. os.shutdown()
  49.  
  50. end
Advertisement
Add Comment
Please, Sign In to add comment