Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("button")
- rednet.open("bottom")
- mon = peripheral.wrap("top")
- local data ={}
- mon.clear()
- function drainTank
- button.toggleButton("DrainTank")
- redstone.setBundledOutput("right", 1)
- sleep(5)
- redstone.setBundledOutput("right", 0)
- button.toggleButton("Drain Tank")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement