It's a lengthy process, and I'm no teacher. I wouldn't even know how to learn it. All I can suggest is that you look at some existing scripts (preferably ones which you know what they do) and see if you can follow it through and understand what each line is for. Then try tweaking something and seeing what happens. The best way to learn is to do.