Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IdSend = 15
- IdRequest = 20
- rednet.open("right")
- redstone.setOutput("back",true)
- while true do
- id,message = rednet.receive()
- if id == IdRequest and message == "On" then
- redstone.setOutput("back",false)
- rednet.send(IdSend,"On")
- sleep(2)
- redstone.setOutput("back",true)
- rednet.send(IdSend,"Off")
- end
- end
- ----=Autor=----
- --By Zaidal86
- ----=-----=----
Add Comment
Please, Sign In to add comment