Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- modem = peripheral.wrap("bottom")
- rednet.open("bottom")
- id, message = rednet.receive()
- if message == "open" then
- redstone.setOutput("back",false)
- elseif message == "close" then
- redstone.setOutput("back",true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement