Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local commands = {
- ["light"] = "programs/light",
- ["logout"] = "startup",
- ["worldedit"] = "programs/WE_Core",
- ["programs"] = "lib/programs",
- ["help"] = "lib/help",
- ["credits"] = "lib/credits",
- --["stargate"] = "proggrams/Lanteacraft_Dialer",
- }
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.red)
- print ' ------------'
- print ' Arc OS '
- print ' ------------'
- term.setTextColor(colors.yellow)
- print("Type help for assitance using Arc OS")
- print("Credits to the available programs can be accessed by typing 'credits'")
- while true do
- write("root@:")
- local input = read()
- if commands[input] then
- shell.run( commands [input])
- else
- print("Command not found!")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement