Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- local sender, msg, pts = rednet.receive()
- if msg == "afk_on" then
- print("afk_on")
- redstone.setBundledOutput("left", 0)
- sleep(0.5)
- redstone.setBundledOutput("left", colors.blue)
- end
- if msg == "afk_off" then
- print("afk_off")
- redstone.setBundledOutput("left", 0)
- sleep(0.5)
- redstone.setBundledOutput("left", colors.white)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement