GLaDOS446

Computercraft Bootloader

Jan 22nd, 2020
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. --Datei 1--
  3. term.clear()
  4. term.setCursorPos(1,1)
  5. textutils.slowPrint("Es werden 2 Programme Runtergeladen und Installiert")
  6. sleep(3)
  7. term.clear()
  8. term.setCursorPos(1,1)
  9. textutils.slowPrint("Programm 1 wird Runtergeladen")
  10. shell.run("pastebin get mMX58AY6 startup")
  11. sleep(2)
  12. term.clear()
  13. term.setCursorPos(1,1)
  14. textutils.slowPrint("Programm 2 wird Runtergeladen")
  15. shell.run("pastebin get 7d9g44n1 clear")
  16. sleep(2)
  17. term.clear()
  18. term.setCursorPos(1,1)
  19. textutils.slowPrint("Alle 2 Programme Fertig runtergeladen")
  20. sleep(2)
  21. term.clear()
  22. term.setCursorPos(1,1)
  23. textutils.slowPrint("Installiere Programm 1 von 2")
  24. sleep(2)
  25. term.setCursorPos(1,3)
  26. print("I I")
  27. sleep(1)
  28. for i = 1, 10,1 do
  29. term.setTextColor(colors.green)
  30. term.setCursorPos(1,3)
  31. print("I I")
  32. term.setCursorPos(2,3)
  33. textutils.slowPrint("***************")
  34. term.setCursorPos(2,3)
  35. textutils.slowPrint(" ")
  36. end
  37. sleep(2)
  38. term.setCursorPos(2,3)
  39. textutils.slowPrint("***************")
  40. sleep(0.5)
  41. textutils.slowPrint("Programm 1 von 2 Fertig Installiert")
  42. sleep(2)
  43. term.setTextColor(colors.white)
  44. --Datei 2--
  45. term.clear()
  46. term.setCursorPos(1,1)
  47. textutils.slowPrint("Installiere Programm 2 von 2")
  48. sleep(2)
  49. term.setCursorPos(1,3)
  50. print("I I")
  51. sleep(1)
  52. for i = 1, 10,1 do
  53. term.setTextColor(colors.green)
  54. term.setCursorPos(1,3)
  55. print("I I")
  56. term.setCursorPos(2,3)
  57. textutils.slowPrint("***************")
  58. term.setCursorPos(2,3)
  59. textutils.slowPrint(" ")
  60. end
  61. sleep(2)
  62. term.setCursorPos(2,3)
  63. textutils.slowPrint("***************")
  64. sleep(0.5)
  65. textutils.slowPrint("Programm 2 von 2 Fertig Installiert")
  66. sleep(2)
  67. term.clear()
  68. term.setCursorPos(1,1)
  69. textutils.slowPrint("Neustart in")
  70. sleep(1)
  71. term.setCursorPos(1,2)
  72. print("3")
  73. sleep(1)
  74. term.setCursorPos(1,2)
  75. print("2")
  76. sleep(1)
  77. term.setCursorPos(1,2)
  78. print("1")
  79. sleep(1)
  80. os.pullEvent = os.pullEvent
  81. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment