Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("left")
- while true do
- time1=os.time()
- a=p.getTankInfo()
- amount1=a[1].contents.amount
- sleep(60)
- a=p.getTankInfo()
- amount2=a[1].contents.amount
- time2=os.time()-time1
- difference=math.abs((amount1-amount2)/(time2*1000))
- print(difference.." mB/t - "..(difference*20).." mB/s")
- end
- shell.run("lua")
Add Comment
Please, Sign In to add comment