Advertisement
Guest User

touch

a guest
Jun 13th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. scr = peripheral.wrap("right")
  2. mon = peripheral.wrap("left")
  3.  
  4. mon.setBackgroundColor(colors.black)
  5. mon.clear()
  6.  
  7. width,height = mon.getSize()
  8.  
  9. yt= window.create(mon, 2, 2, 9, 3 )
  10. yt.setBackgroundColor(colors.red)
  11. yt.setTextColor(colors.black)
  12. yt.write("         ")
  13. yt.setCursorPos(1,2)
  14. yt.write(" YouTube ")
  15. yt.setCursorPos(1,3)
  16. yt.write("         ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement