In essence, I'm trying to make an extension system, where each plugin hooks into the important functions via the respective function in the file. I need a way to run this function and get the return value, by just looping through the "plugins" directory.
Any way I could do this?