I've always believed the best way to learn scripting is to build a script that you immediately have a need want for. For example, I was reading through one of my Warlock forums for World of Warcraft on a flowchart describing gem selection for gear.
OMG, That's great, but well, I want to change it, I want to automate it.