Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- redstone.setOutput("front", false)
- Activer = 1
- function SignalRedstone()
- if Activer == (EtatSignRedstone) then
- redstone.setOutput("front", true)
- else
- redstone.setOutput("front", false)
- end
- end
- while true do
- id,EtatSignRedstone = rednet.receive()
- sleep(0.1)
- SignalRedstone()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement