Advertisement
ReIative

Untitled

Jun 29th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local sV = "V. 0.4"
  2. mon=peripheral.wrap("top")
  3. x,y=mon.getSize()
  4. mon.setPaletteColor(colors.blue,0x23272A)
  5. mon.setPaletteColor(colors.white,0xFFFFFF)
  6. mon.clear()
  7. mon.setCursorPos(x-#sV,y)
  8. mon.write(sV)
  9. mon.setBackgroundColor(colors.blue)
  10. mon.clear()
  11. mon.setTextColor(colors.white)
  12. mon.setCursorPos(1,2)
  13. mon.setPaletteColor(colors.gray,0x99AAB5)
  14. mon.setTextColor(colors.gray)
  15. for i=1,x do mon.write("\127") end
  16. mon.setCursorPos(1,1)
  17. for i=1,x do mon.write("\127") end
  18. mon.setCursorPos(1,3)
  19. for i=1,x do mon.write("\127") end
  20. mon.setTextColor(colors.white)
  21. mon.setCursorPos((x-16)/2+1,2)
  22. mon.write(" DISCO CONTROLL ")
  23. mon.setCursorPos(1,4)
  24. mon.write("Updating base [")
  25. shell.run("delete .ctrl")
  26. mon.write("####")
  27. shell.run("wget https://pastebin.com/raw/hX5i36qH .ctrl")
  28. mon.write("########]")
  29. mon.setCursorPos(1,6)
  30. mon.write("Updating launcher [")
  31. shell.run("delete .launch")
  32. mon.write("####")
  33. shell.run("wget https://pastebin.com/raw/mUxwUwgq .launch")
  34. mon.write("#######]")
  35. mon.setCursorPos(1,8)
  36. mon.write("Starting...")
  37. sleep(0.25)
  38. shell.run(".ctrl")
  39. mon.setBackgroundColor(colors.black)
  40. mon.clear()
  41. mon.setCursorPos(1,1)
  42. mon.setTextColor(colors.white)
  43. mon.write("DISCO CONTROLL HAS EXIT")
  44. sleep(0.2)
  45. mon.clear()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement