Is there a way to grab a line from a .js file, perhaps as a string? I know I can get a string of a function's source code, but that's not what I'm after. I'd like to be able to load lines from the js file as strings whether they're functions or not. Most of what I'd want to be able to grab would be outside of functions, and I'd like to be able to include commented lines as well. Or failing that in general, at least be able to read the commented lines dealing with plugin params.
If curious about the use, I think it would make my Plugin Core's parameter conversion more intuitive, and I believe I'm gonna need it for my attempt to make MZ functions compatible with MV(reverse FOSSIL).
My searches thus far has only turned up how to grab a function's code or its passed arguments, so I'm not sure if what I'm after can be done without a LOT of work(obviously it can be done, the engine's plugin editor window can do it).
Thanks in advance!
If curious about the use, I think it would make my Plugin Core's parameter conversion more intuitive, and I believe I'm gonna need it for my attempt to make MZ functions compatible with MV(reverse FOSSIL).
My searches thus far has only turned up how to grab a function's code or its passed arguments, so I'm not sure if what I'm after can be done without a LOT of work(obviously it can be done, the engine's plugin editor window can do it).
Thanks in advance!