Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setBackgroundColor(colors.purple)
- term.setCursorPos(1,1)
- term.clear()
- print("AptOS v0.1")
- term.setCursorPos(1,3)
- while true do
- input = read()
- if input == "help"
- then print("shutdown; shuts off computer, help; displays this page, console; opens CraftOS shell ")
- elseif input == "shutdown" then
- os.shutdown()
- elseif input == "console"
- then shell.run("os/console")
- error()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement