"SoldierWB" createunit [getpos gl1, west2, "westman2 = this", 1, "LIEUTENANT"]
this doesn't mean you should be lazy and not look in the com ref like macguba there suggested. it pays off
SoldierWB is the string name of a regular soldier.
getpos gl1 get's the position of a game logic named as gl1
west2 joins the unit in a group named west2
westman2=this names the created unit to westman2
1, can't remember wtf that ment
lieutenant makes the units rank lieutenant
m'kay