Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rs = peripheral.find("rsBridge")
- local barrel = peripheral.find("metalbarrels:diamond_tile")
- local function writetofile()
- local inv = fs.open("inventory", "w")
- inv.write(rs.listItems())
- inv.close()
- end
- writetofile()
- --[[
- for i =1, #barrel do
- print(i)
- end
- --]]
- sleep(3)
Add Comment
Please, Sign In to add comment