| Blockland Forums > Modification Help |
| Execution help |
| << < (2/2) |
| MegaScientifical:
--- Quote from: phflack on February 12, 2011, 10:30:57 PM ---you could execute a file which then executes the other ones --- End quote --- --- Quote from: MegaScientifical on February 11, 2011, 10:39:14 PM ---exec("Add-Ons/AddOnCat_AddOnName/server.cs"); Like that. --- End quote --- Why are you always restating a previous poster, phflack? Always. |
| phflack:
--- Quote from: MegaScientifical on February 13, 2011, 03:06:17 AM ---Why are you always restating a previous poster, phflack? Always. --- End quote --- i'm not, i'm saying to use one command once, instead of using a few different commands (changing the target to execute each time) |
| Red_Guy:
--- Quote from: Jasa 12265 on February 11, 2011, 10:31:56 PM ---Can somebody give me a way to quickly execute an entire folder? Like say exec("./Bricks/");. --- End quote --- This isnt always a good idea. you never know what might be in that folder. And sometimes the files need to be run in a certian order. why do you want to exec ALL files in a folder? |
| Jasa 12265:
--- Quote from: Red_Guy on February 14, 2011, 02:11:27 PM ---why do you want to exec ALL files in a folder? --- End quote --- Usually if I am always adding files to that folder and don't want to add a new exec line for every file. |
| MegaScientifical:
--- Quote from: Jasa 12265 on February 16, 2011, 11:00:13 PM ---Usually if I am always adding files to that folder and don't want to add a new exec line for every file. --- End quote --- Although I'd like to avoid the "Old Code" folder within it. I keep my old versions of code files in case any of the code I want to stop using might come in handy. By the way, it's easy. :cookieMonster: |
| Navigation |
| Message Index |
| Previous page |