You should start here for the basic scripting language, not to mention get an idea of arguments and such.
If that doesn't suit your needs, or if you just want to try ASH, next up would be this tutorial. When you have the basic concept down, this is the ASH reference page.
Unfortunately, these...