Hi,
I'm afraid @Cairyn already contributed everything we could.
We need to leave this to the community. Sorry.
I have moved this to the General Programming & Plugins Discussions category, as I don't regard it as a very C4D specific question. Please, correct me, if I'm wrong.
Cheers,
Andreas