Scrips and Assets

Can any one give me a quick pointer around creating scrip for assets.

I’d like to populate the asset ‘name’ field using a combination of a make and model field on asset creation/asset update. It would replace whatever was in the name field eg

make:
Fujitsu

Model:
U904

On create the asset name field would be populated with:
Fujitsu U904