SixClones

YEAAAAA

Oct 17th, 2020 (edited)
737
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local dirFullCellChest = ""
  2. local drive = peripheral.wrap("bottom")
  3.  
  4. while true do
  5.   for j = 1,10 do
  6.     item = drive.getStackInSlot(j, false)
  7.    
  8.     if item ~= nil then
  9.       print(j.." - "..item.display_name)
  10.      
  11.       cell = item.me_cell
  12.      
  13.       types = cell.freeTypes
  14.       bypes = cell.freeBytes
  15.      
  16.       print("t="..types.." | b="..bytes)
  17.       if types == 0 or bytes == 0 then
  18.         drive.pushItem(dirFullCellChest, j, 1, j)
  19.       end
  20.     end
  21.   end
  22. end
  23.  
RAW Paste Data