Trying to build a primary script thats referencing a bunch of secondary scripts, instead of running it like a toolbar where the script runs onClick(), i wanted to know if there was a way I could have the actual script window ui in a tabbed panel without just copy pasting the whole script in (so like using #includes and running it from a secondary script)
I don't think there is a way that would work with any kind of secondary script. You would need to structure your secondary scripts, such that they have a function that creates their UI inside an arbitrary container and then expose that function to your main script.
My iExpressions is kind of working that way, where each individual expression can create its own UI inside the main UI of the tool.
compPack Included is the compPack feature which allows you to package together multiple scripts into one beautiful, searchable UI panel. Have folders of scripts inside of other folders, compPack is smart enough to rebuild the UI to match your existing folder structure.
In addition add artwork and information buttons to polish your UI, and get it ready to share with others in a professional looking tool.