Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell=peripheral.wrap("right")
- while true do
- if(cell.getEnergyStored()==100000) then
- redstone.setOutput("right",true)
- end
- if(cell.getEnergyStored()==0) then
- redstone.setOutput("right",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement