SHOW:
|
|
- or go back to the newest paste.
1 | local modem = peripheral.find("modem") | |
2 | rednet.open("top") | |
3 | while true do | |
4 | local id, message | |
5 | repeat | |
6 | id, message = rednet.receive() | |
7 | until id == 3 | |
8 | redstone.setOutput("back", true) | |
9 | sleep(0.4) | |
10 | redstone.setOutput("back", false) | |
11 | end | |
12 |