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

Starwars program

Started by Thomas9666, 23 July 2012 - 07:52 AM
Thomas9666 #1
Posted 23 July 2012 - 09:52 AM
Inknow that you can type 'monitor side secret/alongtimeago' for a monitor to play starwars a new hope, but I'm wondering how would I create a program that would start it without typing that all the time.
I need it to run like shell.run"starwars" and it will start playing.

Any help would be great :-) thanks
Pinkishu #2
Posted 23 July 2012 - 09:56 AM
shell.run(shell.resolveProgram("monitor"),"side","secret/alongtimeago") might work
Thomas9666 #3
Posted 23 July 2012 - 12:28 PM
Cheers, I'll try it later