Generally it is considered hard to write scripts. But it's not that
difficult. Here is an interesting article which
explains how to write scripts in a very simple way. A must read
In general also i found this site quite interesting.