Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bf,bfnx=false,false
- rednet.open("top")
- rs.setOutput("bottom",true)
- while true do
- event, side, frequency, replyFrequency, message, distance = os.pullEvent("modem_message")
- if message=="blaze_farm: on;" then
- bf=true
- elseif message=="blaze_farm: off;" then
- bf=false
- elseif message=="blaze_farm_no_xp: on;" then
- bfnx=true
- elseif message=="blaze_farm_np_xp: off;" then
- bfnw=false
- end
- if bf or bfnx then
- rs.setOutput("bottom",false)
- else
- rs.setOutput("bottom",true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement