Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.wrap("top")
- monitor.setBackgroundColor(colors.black)
- monitor.clear()
- x,y = monitor.getSize()
- monitor.setTextScale(1)
- monitor.setCursorPos(x/2,y/2)
- monitor.write(x .. " - " .. y)
- interface = peripheral.wrap("bottom")
- s = interface.getAllStacks()
- textutils.serialise(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement