Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. bf,bfnx=false,false
  2. rs.setOutput("bottom",true)
  3. rednet.open("top")
  4. while true do
  5. senderId, message, protocol = rednet.receive()
  6. if message=="blaze_farm: on;" then
  7. bf=true
  8. elseif message=="blaze_farm: off;" then
  9. bf=false
  10. elseif message=="blaze_farm_no_xp: on;" then
  11. bfnx=true
  12. elseif message=="blaze_farm_no_xp: off;" then
  13. bfnx=false
  14. end
  15. if bf or bfnx then
  16. rs.setOutput("bottom",false)
  17. else
  18. rs.setOutput("bottom",true)
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement