Rusty_Bullet22 put together a nice collection of example scripts that can be helpful in learning the squirrel syntax. They are also useful to put into scripts, but make sure you gives credits.
The download link is
hereThe package includes an accounts script, a clan tag script, a stats script and a whole bunch more. Very useful for any newbie.