As much as a richardish thing that may seem to say, it's kinda true.
How I got started (and how I still figure out things sometimes) is by looking at other scripts and seeing what they did. You can also go to Coding Help and Modification Discussion and look at some of the stickies/threads, there are some useful things there.