Advertisement
SuPeRMiNoR3

test

Dec 12th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. local debug = "0000" -- This can be changed to anything you want. If you are going to be using this program to protect a ComputerCraft computer, use this code and don't worry about making the rest of the files.
  2. local term = require("term")
  3. local shell = require("shell")
  4. --local io = require("io")
  5.  
  6. while true do
  7. term.clear()
  8. term.setCursor(1,1)
  9. term.write("User: Shuudoushi")
  10. term.setCursor(1,2)
  11. term.write("Password: ")
  12. local input = term.read(nil, true, nil, "*")
  13. print(input)
  14. if input == debug then
  15. term.clear()
  16. term.setCursor(1,1)
  17. print("Entering debug mode...")
  18. os.sleep(2.5)
  19. term.clear()
  20. term.setCursor(1,1)
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement