What is that "user input"?
I think it's shutdown a coupe of times when I've interrupted a script already running - I'd (perhaps foolishly) assumed that it was a case of too much going on. It's not a big issue because it's immediately obvious, unlike a camera crash 20 seconds into a flight (as happened during a test flight 10 minutes ago...)
are you trying to force the focus (to infinity maybe?) using the CHDK SD override menu items?
I haven't (yet) attempted to set_focus in any of my scripts. I tried to use 'Override Subject Distance: Inf [Inf.]', but it doesn't override the autofocus initiated by the shoot command (I think this is a known issue with this particular model that Waterwingz and others have been looking at, without a solution yet). My camera does instantly crash (no warning, power off, lens out) if I set the focus to MF, switch to Alt mode, and attempt to run any script.
You need to put the script in a plain text file and name it "extend.m" .
I'll try this now.