Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function energy()
- shell.run("clear")
- if not rs.getInput("left") or rs.getInput("right") or fs.getInput("top") or fs.getInput("front") or fs.getInput("back") then
- print("PC can't work without redstone, place lever in PC sides, but not down.")
- else
- auth()
- end
- end
- function auth()
- usr = ""
- passwd = ""
- write("User:")
- term.setCursorPos(1,3)
- print("powered by Authoque, component of Universal Atom API")
- user = read()
- if user == usr then
- write("Password:")
- password = read()
- if password == passwd then
- shell.run("/.bootmanager")
- elseif user then
- print("Authorization error, press any key to reboot.")
- os.pullEvent("key")
- os.reboot()
- elseif password then
- print("Authorization error, press any key to reboot.")
- os.pullEvent("key")
- os.reboot()
- end
- end
- end
- function vent(program)
- print("We have problems with ReactOS Heat Vent System,")
- print("press any key to clear the malware hot gas.")
- os.pullEvent("key")
- shell.run(program)
- end
- function init(string, time)
- sleep(time)
- shell.run(string)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement