Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- while true do
- local sender, message, protocol = rednet.receive()
- if message == "Ligar" then
- redstone.setOutput("front", true)
- end
- if message == "Desligar" then
- redstone.setOutput("front", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement