Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.wrap("top")
- print("Please enter your Username and Password")
- print("Username:")
- username = read()
- Print("Password:")
- password = read()
- if username == "GreSlime" and password == "lala123" then
- monitor.write ("Welcome Greslime")
- monitor.clear
- monitor.write ("Please make your choice.")
- sleep(1)
- monitor.write ("Press 1 for to load the Operating system.")
- sleep(1)
- monitor.write ("Press 2 for to load the reactor program.")
- sleep(1)
- monitor.write ("Press 3 for to check your mail.")
- sleep(1)
- monitor.write ("Press 4 for to reboot.")
- input = read()
- monitor.write("Loading")
- sleep(2)
- monitor.write("Loading.")
- sleep(2)
- monitor.write("Loading..")
- sleep(2)
- monitor.write("Loading...")
- sleep(2)
- monitor.write("Loading....")
- if input == "1" then shell.run("monitor", "top", "OS")
- if input == "2" then shell.run("monitor", "top", "reactorapp")
- if input == "3" then monitor.write("No new mail.")
- if input == "4" then "shell.run("reboot")
- else
- print("Your Username or Password is incorrect.")
- sleep(5)
- shell.run("test")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement