Advertisement
Guest User

EEditor

a guest
Aug 27th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. shell.run("EditorEngine")
  2. ClearTerm()
  3. print("Hello Welcome to EEditor")
  4. print("Type what file you would like to edit")
  5. Edit()
  6. ClearTerm()
  7. print("Would you like to edit another file or exit?")
  8. while true do
  9. OPT1aEE = io.read()
  10. if OPT1aEE == "edit" then
  11.   Edit()
  12. elseif OPT1aEE == "exit" then
  13.   print("Exiting CraftOS1.3")
  14.   os.sleep(1)
  15.   os.shutdown()
  16. else
  17.   print("Unknown Command the current commands")
  18.   print("are edit and exit")
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement