Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("top")
- --m = tank
- l = peripheral.wrap("right")
- l.setTextScale(0.5)
- l.clear()
- --l = monitor(confusing, I know)
- pertable = m.getTankInfo("top")
- pertable1 = pertable[1]
- local h = 1
- for a,b in pairs(pertable) do
- --l.setCursorPos(1,h)
- --l.write(tostring(a) .. " ")
- --h = h + 1
- for t,u in pairs(B) do
- l.setCursorPos(1,h)
- l.write(tostring(u))
- h = h + 1
- end
- h = h + 1
- end
- --l.setCursorPos(1,h)
- --l.write(tostring(#pertable))
- --h = h + 1
- for i,j in pairs(pertable1) do
- l.setCursorPos(1,h)
- l.write(tostring(i)..":"..tostring(j))
- h = h + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment