There probably isn't any one guide to help you code better since there are several kinds of code. Most RSPS that I've seen or tried out have been plain Java code and there are plenty of tutorials out there on how to code Java.
On top of that, there are different sources that exist and each one is coded differently in either minor or major ways. The best you can do is find out what type of source you have (PI, Renegade, exc...) and search the tutorials section for the subject you need.
If you can't find what you're looking for, the only option that I know of is ask for a programmer to actually look over your code and help you out of the goodness of their heart (Which I know I would, if I had the time...) or try to figure out the code yourself.
...You may also want to think about going online and doing some online java coding classes. They may prove to be helpful in teaching you the basics of what you need to know.
I hope that this helps and wish you the best of luck.