Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- id,message = rednet.receive()
- if
- message==("EMCSTART")
- then
- redstone.setOutput("bottom",true)
- os.sleep(1)
- redstone.setOutput("bottom",false)
- rednet.send(8,"conf")
- elseif message=="EMCPING" then
- rednet.send(8,"conf")
- else
- print(id.." | "..message)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement