Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rs = redstone
- function redst()
- if rs.getInput(left) == true then
- file = fs.open("log316","w")
- file.write("1")
- file.close()
- shell.run("pastebin","put","log316")
- end
- end
- function redstoneinv()
- if rs.getInput(left) == true then
- fs.open(log317".save","w")
- file.write("0")
- file.close()
- shell.run("pastebin","put","log317")
- end
- end
- while true do
- redst()
- redstoneinv()
- sleep(6000)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement