Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- x = "0"
- while x ~= "1" do
- id,message = rednet.receive(10)
- if id == 14 and message == "open" then
- redstone.setOutput("right",true)
- end
- if id == 14 and message == "close" then
- redstone.setOutput("right",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement