Ok, here is the "Reduced comment" version... LOL, I had more comments than code.
We need a "Strip Comments" option.
Ok, I included the mini-manager, which doesn't do anything other than test the file. The file is an include, and will not run alone. All "Packs" will be includes also. The CWAD will check if all require "Pack" functions exist... otherwise it will just spit-out the data as RAW data. (It will also send a code to let you know if a "Pack" registration is missing.)
The "Test" is a "Fred" pack test. There is no "Fred" pack... but you can create one if you want!
This checks for "Fred"... Can't find it... So it gives you an alternative. "Use (GENERIC)?"
If you say yes... You now have a GENERIC pack setup in the CWAD. (Code stops there.)
If you say no... It indicates that no action will be taken, because no valid action was supplied. (You have to program a "Fred" pack control, or find the missing "Fred" pack controller, or live with a GENERIC pack setup.)
Forgive the sloppy code... I still have dead commands that I was testing, and variables that will not be used. But I will not have a replacement until I get one of the NON-GENERIC packs developed. (The GENERIC pack is almost complete.)
Bookmarks