Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os pullEvent = os.pullEventRaw
- term setCursorPos(8,1)
- print("ComputerCraft 1.6.4")
- term.setCursorPos(1,2)
- term.setTextColot(colors.green)
- print("Please enter your password to enter this computer.")
- pass = ("password")
- write("Camden")
- term.setTextColor(colors.cyan)
- input = read("*")
- if not ("input == pass") then
- term.setTextColor(colors.red)
- print("Incorrect Password. Please try again.")
- sleep(1)
- os.shutdown()
- end
- if (input == pass) then
- term.setTextColor(colors.green)
- print ("Welcome")
- sleep(1)
- term.setTextColor(colors.cyan)
- print("Please input side of wireless/wired modem, or none if none")
- none = ("none")
- input = ("read")
- if not (input == none) then
- rednet.open( input )
- print ("Modem Activated")
- term.setTextColor(color.white)
- sleep(0.5)
- end
- if (input == none) then
- print ("No modems activated")
- term.setTextColor(colors.white)
- sleep (0.5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement