jonassvensson4

Farm setup

Mar 25th, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. rednet.open("top")
  2.  
  3. while true do
  4. id, cmd = rednet.receive()
  5.     if cmd == "on" then
  6.         redstone.setOutput("back", true)
  7.     elseif cmd == "off" then
  8.        redstone.setOutput("back", false)
  9.     end
  10.     sleep(0.75)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment