i must confess, i didnt write it. i wish i had though. i did a few of the mel tutorials that come in with maya help files.
but i dont actually know it enough to start writing my own scripts.
iam planning on doing a few tutorials on it sometime in the near future.
A pint of example is worth a gallon of advice!!