Advertisement
domi02198

Untitled

Feb 23rd, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. local x,y,yi
  2. mon=peripheral.wrap("left")
  3. term.redirect(mon)
  4. x,y=term.getSize()
  5. yi=2
  6. --[[links]]paintutils.drawLine(1,1,1,y,colors.blue)
  7. --[[unten]]paintutils.drawLine(1,y,x,y,colors.blue)
  8. --[[oben]]paintutils.drawLine(1,1,x,1,colors.blue)
  9. --[[rechts]]paintutils.drawLine(1,y-1,x,y-1,colors.blue)
  10.  
  11. paintutils.drawLine(x,1,x,y,colors.blue)
  12. while yi~=y-1 do
  13. paintutils.drawLine(2,yi,x-1,yi,colors.lightBlue)
  14. yi=yi+1
  15. end
  16. sbutton = paintutils.loadImage("button")
  17. paintutils.drawImage(sbutton,1,y-2)
  18. term.restore()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement