Posted 18 September 2014 - 12:07 AM
I was trying to make a program that would:
-detect a change in a floppy disk file, broadcast the first line of the file over rednet, then clear the file.
-detect a rednet broadcast and write it to the same floppy disk file, without broadcasting it again.
It doesn't do that. I change the file, and it does nothing.
Here's the pastebin.
pastebin.com/7iR1B7Kj
Could someone please fix the code? I'm a noob.
-detect a change in a floppy disk file, broadcast the first line of the file over rednet, then clear the file.
-detect a rednet broadcast and write it to the same floppy disk file, without broadcasting it again.
It doesn't do that. I change the file, and it does nothing.
Here's the pastebin.
pastebin.com/7iR1B7Kj
Could someone please fix the code? I'm a noob.