Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- batbox = peripheral.wrap("side")
- b = peripheral.wrap("side")
- b.clear()
- b.addBox(5,5,100,10,0x000000,0.5)
- energy = b.addText(6,6,"BatBox: ")
- while true do
- check = batbox.getEUStored()
- energy.setText("BatBox: "..check.." EU")
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement