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

Unhackable program

Started by jay5476, 15 December 2012 - 01:35 PM
jay5476 #1
Posted 15 December 2012 - 02:35 PM
NO one can beat this I reckon

write("")
Try and stop this code from running :D/>
immibis #2
Posted 15 December 2012 - 02:37 PM
Does this topic have a point?
PixelToast #3
Posted 15 December 2012 - 02:38 PM
write=nil
?
bjornir90 #4
Posted 15 December 2012 - 07:05 PM
WHAT ?!
ComputerCraftFan11 #5
Posted 15 December 2012 - 08:49 PM
write=nil
?

I can do that without erroring the program >:D/>

shell.run = write

There, now it won't run :D/>
D3matt #6
Posted 16 December 2012 - 03:59 AM
write=nil
?

I can do that without erroring the program > :D/>

shell.run = write

There, now it won't run :D/>
Technically write would still run, it just wouldn't be the write you were expecting.
Dlcruz129 #7
Posted 16 December 2012 - 04:22 AM
write=nil
?

I can do that without erroring the program > :D/>/>

shell.run = write

There, now it won't run :D/>/>
Technically write would still run, it just wouldn't be the write you were expecting.

No, because (correct me if I'm wrong), but I believe the shell program takes user input and then passes it to shell.run().