Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f = fs.open('/etc/sorter.conf', 'a')
- for i=1,16 do
- if turtle.getItemCount(i) ~= 0 then
- write('Adding ' .. turtle.getItemDetail(i).name .. '\n')
- f.write(', ' .. turtle.getItemDetail(i).name)
- end
- end
- f:close()
Advertisement
Add Comment
Please, Sign In to add comment