Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- peripheral.wrap("back")
- rednet.open("back")
- while true do
- local sender, message, distance = rednet.receive(--[[/* Timeout Value */]]-- 5)
- if message == "on" then
- redstone.setOutput('top',true)
- sleep(4)
- redstone.setOutput('top',false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment