SHOW:
|
|
- or go back to the newest paste.
| 1 | while true do | |
| 2 | shell.run("clear")
| |
| 3 | - | if rs.getInput("back", false)
|
| 3 | + | if rs.getInput("back", false) then
|
| 4 | turtle.dig() | |
| 5 | print("Offline")
| |
| 6 | else | |
| 7 | ||
| 8 | rs.getInput("back", true)
| |
| 9 | turtle.place() | |
| 10 | print("Online")
| |
| 11 | end | |
| 12 | sleep(10) | |
| 13 | end |