Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.setTextColor(colors.red)
- write(shell.dir()..)
- term.setTextColor(colors.orange)
- write("> ")
- term.setTextColor(colors.white)
- command=read()
- if command == "exit" then
- break
- else if command == "help" then
- print[[
- RedOS help --
- "exit" to quit to CraftOS
- ]]
- else
- shell.run(command)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement