Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local basinBack = peripheral.wrap("back")
- local basinFront = peripheral.wrap("front")
- local tableInfoB = basinBack.getTanks("unkown")
- local tableInfoF = basinFront.getTanks("unkown")
- print("Back")
- for k, v in pairs(tableInfoB) do
- for x, y in pairs(v) do
- print(x.. ": " .. y)
- end
- end
- print("-------")
- print("Front")
- for k, v in pairs(tableInfoF) do
- for x, y in pairs(v) do
- print (x.. ": ".. y)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement