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

Change command Ctrl+T

Started by Tekkitown, 16 September 2012 - 02:44 PM
Tekkitown #1
Posted 16 September 2012 - 04:44 PM
Hey pro's

How do I edit my program ( ingame ) when I blocked Ctrl + T ?

If I put something like os.pullevent in the beginning of the script the Ctrl+T command is not working anymore
But how can I change my program then ? If I have a password system, Cuz if you write the wrong password the terminal will be restart or something so I cant type Edit startup

Can I put the terminate on a special password or something ?

Thanks anyways
ThinkInvisible #2
Posted 16 September 2012 - 04:55 PM
Put a disk drive next to it. Make a disk with an empty 'startup' file on it and put it in the disk drive. Reboot the computer. The computer will use the 'startup' file from the disk.
Lion4ever #3
Posted 16 September 2012 - 06:07 PM
you can make your password system end, with a second password like this:


if input=="changeProgram" then
return
end
and input is the variable you got with read()
Tekkitown #4
Posted 16 September 2012 - 07:01 PM
Thanks for reply those aswers are realy help full!
hego555 #5
Posted 16 September 2012 - 08:04 PM
I am guessing you just copied someones code and didnt bother to really understand it!

Take smaller steps and learn the language a little better!
NIN3 #6
Posted 16 September 2012 - 08:29 PM
I am guessing you just copied someones code and didnt bother to really understand it!

Take smaller steps and learn the language a little better!
Not everyone googles "password door" and copy pastes it into there computers. I did this on my first door too, not realizing there was no other way to open it.
hego555 #7
Posted 17 September 2012 - 12:09 AM
I am guessing you just copied someones code and didnt bother to really understand it!

Take smaller steps and learn the language a little better!
Not everyone googles "password door" and copy pastes it into there computers. I did this on my first door too, not realizing there was no other way to open it.

Notice how I said Guessing