AdventurousMR

.download

Sep 24th, 2021 (edited)
847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.06 KB | None | 0 0
  1. function startupText()
  2.     while true do
  3.     term.clear()
  4.     term.setCursorPos(1,1)
  5.     print('AshOS |')
  6.     sleep(0.1)
  7.     term.clear()
  8.     term.setCursorPos(1,1)
  9.     print('AshOS /')
  10.     sleep(0.1)
  11.     term.clear()
  12.     term.setCursorPos(1,1)
  13.     print('AshOS -')
  14.     sleep(0.1)
  15.     term.clear()
  16.     term.setCursorPos(1,1)
  17.     print('AshOS \\')
  18.     sleep(0.1)
  19.     end
  20. end
  21.  
  22.  
  23.  
  24. term.clear()
  25. term.setCursorPos(1,1)
  26. print("AshOS 1.0.2")
  27.  
  28. term.setCursorPos(1,3)
  29. shell.run("pastebin get sVhf9v7H temp-command.lua")
  30. if (fs.exists("temp-command.lua")) then
  31.     fs.delete(".command.lua")
  32.     fs.move("temp-command.lua", ".command.lua")
  33. end
  34. shell.run("pastebin get KjNnR2xs temp-menu.lua")
  35. if (fs.exists("temp-menu.lua")) then
  36.     fs.delete(".menu.lua")
  37.     fs.move("temp-menu.lua", ".menu.lua")
  38. end
  39. shell.run("pastebin get NHNT3s1g temp-portconnectionlost.lua")
  40. if (fs.exists("temp-portconnectionlost.lua")) then
  41.     fs.delete(".PortConnectionLost.lua")
  42.     fs.move("temp-portconnectionlost.lua", ".PortConnectionLost.lua")
  43. end
  44.  
  45. shell.run(".menu")
Add Comment
Please, Sign In to add comment