Advertisement
GamingwithAtos

Untitled

Dec 7th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. rednet.open("top")
  2. while true do
  3. local sender, msg, ptc = rednet.receive()
  4. if msg == "mfarm_on" then
  5. redstone.setOutput("right", false)
  6. end
  7. if msg == "mfarm_off" then
  8. redstone.setOutput("right", true)
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement