Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x,y,yi
- mon=peripheral.wrap("left")
- term.redirect(mon)
- x,y=term.getSize()
- yi=2
- --[[links]]paintutils.drawLine(1,1,1,y,colors.blue)
- --[[unten]]paintutils.drawLine(1,y,x,y,colors.blue)
- --[[oben]]paintutils.drawLine(1,1,x,1,colors.blue)
- --[[rechts]]paintutils.drawLine(1,y-1,x,y-1,colors.blue)
- paintutils.drawLine(x,1,x,y,colors.blue)
- while yi~=y-1 do
- paintutils.drawLine(2,yi,x-1,yi,colors.lightBlue)
- yi=yi+1
- end
- sbutton = paintutils.loadImage("button")
- paintutils.drawImage(sbutton,1,y-2)
- term.restore()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement