Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- redstone.setOutput("bottom", false)
- while true do
- id, message = rednet.receive()
- if id==1 and message=="B" then
- write("Moving...")
- redstone.setOutput("bottom", true)
- sleep(.5)
- redstone.setOutput("bottom", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement