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

How do you put the star wars secret into a program (as a short cut)

Started by LightSeba, 20 January 2013 - 02:26 AM
LightSeba #1
Posted 20 January 2013 - 03:26 AM
Hi, titles says it all, I know next to nothing about lua(I plan to learn after the SAT), can someone help me?
theoriginalbit #2
Posted 20 January 2013 - 03:47 AM
do you mean how to run it from another program? or as in you want to run it from the console with a different name?
LightSeba #3
Posted 20 January 2013 - 03:47 AM
to run it with a different name
LightSeba #4
Posted 20 January 2013 - 03:48 AM
I've tried
edit movie, then put in the code and saved, but it wont run it
theoriginalbit #5
Posted 20 January 2013 - 04:04 AM
why do you want to run it under a different name?

try using this in the console… it should copy the program to the root directory under the name movie…
"copy /secret/alongtimeago /movie"
TheOddByte #6
Posted 20 January 2013 - 09:06 AM
Or you could just edit <NameOfProgram>
And do this:

shell.run("secret/alongtimeago")
And if you want to run it on a Monitor then:

shell.run("monitor", "back", "secret/alongtimeago") -- Change "back" to side you are using!