Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- message=""
- redstone.setOutput("front",true)
- while true do
- id,message=rednet.receive()
- if message == "vroom" and id==12 then
- redstone.setOutput("front",false)
- sleep(2)
- redstone.setOutput("front",true)
- else
- print("NO SIGNAL")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement