yes I'm using createUnit

so my guess would be ---------->
"unittype" createunit [getpos position, groupname, "unitname = this", "init", skill, "rank"]
example:
"SoldierW" createunit [getpos Respawnpoint1, westgroup1, "macguba (

) = this", "this addeventhandler ["killed", {_this exec "erase.sqs"}]", 0.5, "Private"]
offcause with out the smilie

Correct me if I'm wrong