Advertisement
peptide

Compactor manager

Mar 24th, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. monitor = peripheral.wrap("left")
  2. chest = peripheral.wrap("back")
  3.  
  4. while true do
  5.     monitor.clear()
  6.     for i=1,4 do
  7.         _,_,_,name = chest.getSlot(i-1)  
  8.         monitor.addText(10, 10 * i, name or "Empty", colors.blue)
  9.     end
  10.     sleep(10)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement