SHOW:
|
|
- or go back to the newest paste.
| 1 | - | i = left |
| 1 | + | rs = redstone |
| 2 | - | function redstone() |
| 2 | + | function redst() |
| 3 | - | if rs.getInput(i) true do |
| 3 | + | if rs.getInput(left) == true then |
| 4 | - | file = fs.open(log316".save","w") |
| 4 | + | file = fs.open("log316","w")
|
| 5 | file.write("1")
| |
| 6 | file.close() | |
| 7 | - | pastebin put log316 |
| 7 | + | shell.run("pastebin","put","log316")
|
| 8 | end | |
| 9 | end | |
| 10 | - | if rs.getInput(i) true do |
| 10 | + | |
| 11 | - | file=fs.open(log317".save","w" |
| 11 | + | if rs.getInput(left) == true then |
| 12 | fs.open(log317".save","w") | |
| 13 | file.write("0")
| |
| 14 | - | pastebin put log317 |
| 14 | + | |
| 15 | shell.run("pastebin","put","log317")
| |
| 16 | - | function sleep() |
| 16 | + | end |
| 17 | - | sleep(6000) |
| 17 | + | |
| 18 | ||
| 19 | while true do | |
| 20 | - | redstone() |
| 20 | + | redst() |
| 21 | redstoneinv() | |
| 22 | - | sleep() |
| 22 | + | sleep(6000) |
| 23 | end |