first off, you should use createunit:
type createUnit unitInfo
Operand types:
type: String
unitInfo: Array
Compatibility:
Version 1.34 required.
Type of returned value:
Nothing
Description:
Create unit of given type . Format of unitInfo is: [pos (Position),group (Group), init (String), skill (Number), rank (String)] Note: init, skill, and rank are optional, default values are "", 0.5, "PRIVATE".
Example:
"SoldierWB" createUnit [getMarkerPos "barracks", groupAlpha]
and you need to find a list of accepted names for this command, which can be found in the comref
then put for the init:
"this domove getpos GL"