Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sV = "V. 0.4"
- mon=peripheral.wrap("top")
- x,y=mon.getSize()
- mon.setPaletteColor(colors.blue,0x23272A)
- mon.setPaletteColor(colors.white,0xFFFFFF)
- mon.clear()
- mon.setCursorPos(x-#sV,y)
- mon.write(sV)
- mon.setBackgroundColor(colors.blue)
- mon.clear()
- mon.setTextColor(colors.white)
- mon.setCursorPos(1,2)
- mon.setPaletteColor(colors.gray,0x99AAB5)
- mon.setTextColor(colors.gray)
- for i=1,x do mon.write("\127") end
- mon.setCursorPos(1,1)
- for i=1,x do mon.write("\127") end
- mon.setCursorPos(1,3)
- for i=1,x do mon.write("\127") end
- mon.setTextColor(colors.white)
- mon.setCursorPos((x-16)/2+1,2)
- mon.write(" DISCO CONTROLL ")
- mon.setCursorPos(1,4)
- mon.write("Updating base [")
- shell.run("delete .ctrl")
- mon.write("####")
- shell.run("wget https://pastebin.com/raw/hX5i36qH .ctrl")
- mon.write("########]")
- mon.setCursorPos(1,6)
- mon.write("Updating launcher [")
- shell.run("delete .launch")
- mon.write("####")
- shell.run("wget https://pastebin.com/raw/mUxwUwgq .launch")
- mon.write("#######]")
- mon.setCursorPos(1,8)
- mon.write("Starting...")
- sleep(0.25)
- shell.run(".ctrl")
- mon.setBackgroundColor(colors.black)
- mon.clear()
- mon.setCursorPos(1,1)
- mon.setTextColor(colors.white)
- mon.write("DISCO CONTROLL HAS EXIT")
- sleep(0.2)
- mon.clear()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement