Yes, compiling it what you want. If you have a MS file, you can compile it and then you will be able to call any of the functions you have created from other scripts.
For those scripts in which you want to use the compiled scripts, you will need to add an "Include" command at the top of the script you are calling from.
You can include as many as you want. Also, compiled functions themselves can call other compiled functions.