Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("bottom")
- modem.open(2)
- local event, modemSide, senderChannel,
- replyChannel, message, senderDistance = os.pullEvent("modem_message")
- if message == "ON" then
- redstone.setOutput("right", true)
- sleep(1)
- redstone.setOutput("right", false)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement