I'm afraid this is one of the biggest problems with scripts, there isn't a real and proper guide that says "If you do this and that, then it will play nicely with BC". Infact, there isn't much documented about this either.
KM is the only mod I know of that has tried to make all of the contained scripts play nice.