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

Detecting what the current program is named.

Started by Sir_Mr_Bman, 03 May 2014 - 05:35 PM
Sir_Mr_Bman #1
Posted 03 May 2014 - 07:35 PM
This may sound like a very nooby question, be warned.

I want to distribute a program, but it has to be able to tell what the user named it when they downloaded it, for example, if they downloaded it and called it "example1" it needs to know it is called "example1".


How do I do this?
MKlegoman357 #2
Posted 03 May 2014 - 08:55 PM
shell.getRunningProgram()
Sir_Mr_Bman #3
Posted 03 May 2014 - 11:08 PM
Thanks!

– Solved –