Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("del !#")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print(" ")
- print("Welcome to CLI-OS.")
- print("Press H for help")
- while true do
- sleep(0.05)
- event = {os.pullEvent()}
- if event[1] == "key" then
- if event[2] == 19 then
- print("Rebooting.")
- sleep(1)
- shell.run("reboot")
- elseif event[2] == 30 then
- print("Starting Adventure.")
- sleep(1)
- shell.run("adventure")
- elseif event[2] == 35 then
- print("Help:")
- print("CLI-OS: An OS in an While True Do loop")
- print("Press R to reboot")
- print("Press A for minecraft")
- print("Press H to bring this up")
- print("Press S for Strafe (the only gui part of the system)")
- print("Press U to Update/Reinstall")
- elseif event[2] == 31 then
- print("Starting strafe...")
- sleep(1)
- shell.run("delete !#")
- shell.run("pastebin get bj3qj1Pj !#")
- shell.run("!#")
- elseif event[2] == 48 then
- print("Starting Brickbreaker")
- sleep(1)
- shell.run("delete !#")
- shell.run("pastebin get BQhGfhFG !#")
- shell.run("!#")
- elseif event[2] == 22 then
- print("Hold CTRL T to cancel Reinstalling. Goodbye!")
- sleep(4)
- shell.run("pastebin run cMAdrJWk")
- end
- end
- end
Add Comment
Please, Sign In to add comment