How to script the Zip'ing of files?

Hi, does anyone know how to Zip a group of files using OSX 10.3.X 's native ability to do so. I noticed you can Zip files from the contextual menu (control select), and I have tried to record this with Script editor, but no luck. I suspect this requires a shell script? But I do not know anything about this. Any help would be appreciated. :shock:

For anyone that’s interested in the same solution, it can be found here:
http://www.apple.com/applescript/folderactions/05.html