SHOW:
|
|
- or go back to the newest paste.
1 | rednet.open("right") | |
2 | ||
3 | while true do | |
4 | ||
5 | id , mess = rednet.receive() | |
6 | - | if (mess == go) then |
6 | + | if (mess == "go") then |
7 | rs.setOutput("left",true) | |
8 | sleep(1) | |
9 | rs.setOutput("left",false) | |
10 | sleep(1) | |
11 | end | |
12 | end |