Advertisement
ThePotato345

Untitled

Jul 30th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local pim = peripheral.wrap("front")
  2. local mon = peripheral.wrap("left")
  3.  
  4. local inventoryName = pim.getInventoryName()
  5. local stacks = pim.getAllStacks()
  6.  
  7. term.clear()
  8. term.setCursorPos(1,1)
  9.  
  10. if inventoryName:lower() == "thepotato456" then
  11.   for k, v in pairs(stacks) do
  12.     print(v)
  13.   end
  14. else
  15.   return
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement