Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function startup()
- event, n = os.pullEvent("player")
- if (n == "inicl55" or n == "AZNCharizard" or n== "Skulldood") then
- 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")
- event, p = os.pullEvent("char")
- if (p == "1") then -- Blue
- pl = "minicl55's house"
- --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.blue))
- end
- if (p == "2") then --Red
- pl = "Mankool's house"
- --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.red))
- end
- if (p == "3") then --Orange
- pl = "Skulldood's house"
- --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.orange))
- end
- if (p == "4") then --Purple
- pl = "Stan's house"
- --rs.getBundledOutput("bottom",colors.add(rs.getBundledOutput("bottom"), colors.purple))
- end
- h = fs.open("log", "r")
- text = text + "\n"..n.." has been teleported to "..p.."."
- h.close()
- wait(5)
- shell.run('clear')
- startup()
- else
- print("**ACCESS DENIED**\nYour attempt to break in has been logged and sent via rednet to other computers, "..n".")
- h = fs.open("log", "r")
- text = text + "\n"..n.." was denied access."
- h.close()
- startup()
- end
- wait(5)
- shell.run('clear')
- end
- startup()
Advertisement
Add Comment
Please, Sign In to add comment