This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
LDDestroier's profile picture

My code doesn't do what it should

Started by LDDestroier, 17 September 2014 - 10:07 PM
LDDestroier #1
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.
KingofGamesYami #2
Posted 18 September 2014 - 02:10 AM
pastebin.com/7iR1B7Kj

This paste has been removed!!

Therefore, no, I can't fix what I can't see…
Dragon53535 #3
Posted 18 September 2014 - 04:26 AM
pastebin.com/7iR1B7Kj

This paste has been removed!!

Therefore, no, I can't fix what I can't see…

I think he's trying to do the Disknet you tried doing once upon a time.