At the recent gretl conference Stefano Fachin agreed to produce a
quick "for dummies" guide to making a gretl function package.
He has been as good as his word, and his Guide is now at
http://gretl.sourceforge.net/gfnguide/gfn_for_dummies.html
There's also a link to it on the main gretl webpage.
Allin