Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- local sender, msg, ptc = rednet.receive()
- if msg == "mfarm_on" then
- redstone.setOutput("right", false)
- end
- if msg == "mfarm_off" then
- redstone.setOutput("right", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement