Indeed scripts are powerful tools.
There are a number of scripts posted in threads throughout this and other forums, but scripts generally reference specific tables and fields within a particular database.
The scripts are typically a solution to a particular challenge. Do a search on this forum for "Scripts" and you'll come up with 11K+...for all sorts of different purposes.
you could learn the general purpose and some specific techniques from reading the posts, but in the end you'll generally have to type in your own which references your specific fields and tables.