18

Like a complete genius, I put this in the startup program:

while true do
  shell.run("power")
end

Which seemed fine at the time, except now I need to edit something. Here's the fun part: when I try to terminate the program, it will terminate power, and then immediately restart it. The turtle has a label, so breaking him will not work, and I'm on a SMP server, so I don't have access to the files. Help?

4
  • golfclap...well done.
    – Cory J
    Commented Feb 15, 2013 at 23:30
  • ...my only option is finding someone with access to the serverside files, isn't it...?
    – Unionhawk
    Commented Feb 15, 2013 at 23:33
  • Or consigning this one to a lava pool and building another. Commented Feb 15, 2013 at 23:40
  • 5
    What you need to do is...What you need to do is...What you need to do is...What you need to do is...
    – Peter V.
    Commented Feb 19, 2014 at 11:37

2 Answers 2

19

Put it next to a diskdrive with a disk which has a do-nothing startup (ensure the drive is not on a side with a peripheral). Computers prefer to boot from disk over local files unless otherwise specified in the config.

0
1

Open the computers UI, press control-T and hold it (for a second if I recall correctly). This will terminate the current program and return to the command prompt. (Another one to remember is control-R, used in the same way, to restart the computer.)

2
  • I did this, and it did not work simply because of the way that I had the loop set up. I would terminate the interior program, but the loop in startup immediately restarted the program.
    – Unionhawk
    Commented Apr 22, 2013 at 13:32
  • Although unrelated to the actual solution, this helped me escape from a sleep loop I was trapped in, so thanks!
    – Kogitsune
    Commented Mar 23, 2015 at 1:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .