Blender 2.5 Add mesh template?

Hi, I’m new to scripting anything other than gamelogic and I was wondering if anybody would please be nice enough to post a template for an ‘add mesh’ script.:smiley:

Thank you in advance.

Download and look at the add star and add diamond scripts - those worked well for me