Anyways, so my goals are as follows;
Prep) Use a java program to scan and duplicate specific NPC's, and attach the script to the original NPC's in order to avoid a feedback loop on the spawns.
1) Access the NPC OnLoad()
2) Calculate probabilities (I can do this part fine)
2) Do a placeatme on the original NPC of the duplicated NPC
The problem being not so much the code (though I must say I'm confused by the code and could benefit from some examples), but how can I work the code to be less specific? I don't want to define a specific property for every NPC, as this should ideally be done dynamically when the patch is ran. How can I use the properties for this? In Oblivion, I would have defined the duplicated NPC with a name based on data from the original - the name being the formID, for example, and then linking the script in to the formID name.
For the record, I can edit any of the duplicated NPC's if they should be edited in any way (including editor ID, name, factions, etc).
Any help with this? Any ideas on how to link the two NPC's?

I don't think it quite works that way. One of those things that gets ingrained in you.. Reminds me of Inception and how manipulating a world can be addictive.
Guess I'm gonna be figuring this one out on my lonesome? Figures. 