minicl55

Untitled

May 10th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. function startup()
  2. event, n = os.pullEvent("player")
  3. if (n == "inicl55" or n == "AZNCharizard" or n== "Skulldood") then
  4. print("Press 1 for minicl55's house\nPress 2 for mankool's house\nPress 3 for skulldood's house\nPress 4 for stan's house, just because")
  5. event, p = os.pullEvent("char")
  6. if (p == "1") then -- Blue
  7. pl = "minicl55's house"
  8. --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.blue))
  9. end
  10. if (p == "2") then --Red
  11. pl = "Mankool's house"
  12. --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.red))
  13. end
  14. if (p == "3") then --Orange
  15. pl = "Skulldood's house"
  16. --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.orange))
  17. end
  18. if (p == "4") then --Purple
  19. pl = "Stan's house"
  20. --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.purple))
  21. end
  22. h = fs.open("log", "r")
  23. text = text + "\n"..n.." has been teleported to "..p.."."
  24. h.close()
  25. wait(5)
  26. shell.run('clear')
  27. startup()
  28. else
  29. print("**ACCESS DENIED**\nYour attempt to break in has been logged and sent via rednet to other computers, "..n".")
  30. h = fs.open("log", "r")
  31. text = text + "\n"..n.." was denied access."
  32. h.close()
  33. startup()
  34. end
  35. wait(5)
  36. shell.run('clear')
  37. end
  38.  
  39. startup()
Advertisement
Add Comment
Please, Sign In to add comment