Well, Lord Vexorian's selection system is better... and you can download it somewhere.
But as for your question, it should be something like
Code:
Events:
Player selects unit
Condition:
Unit type equal to XXX
Actions:
Create 1 XXX for player # at Region