Advertisement
Guest User

inv

a guest
Jan 23rd, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. monitor = peripheral.wrap("top")
  2.  
  3. monitor.setBackgroundColor(colors.black)
  4. monitor.clear()
  5. x,y = monitor.getSize()
  6. monitor.setTextScale(1)
  7. monitor.setCursorPos(x/2,y/2)
  8. monitor.write(x .. " - " .. y)
  9.  
  10. interface = peripheral.wrap("bottom")
  11. s = interface.getAllStacks()
  12. textutils.serialise(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement