Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- local sender, msg, prot = rednet.receive("music")
- if msg == os.getComputerLabel() then
- print("message received")
- redstone.setOutput("back", true)
- sleep(0.1)
- redstone.setOutput("back", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement