the tmsh wiki has script examples, and I've written a few articles on tmsh scripts:
The BIG-IP backups one is actually iCall-based, but uses the same scripting, it just lives in another section of the config. The first two versions of this article use straight-up tmsh.