_createTime = (random 15)
_unittype = _this select 0
_createPos = _this select 1
_init = _this select 2
?(_unittype == "basic") : _unittype = "fin_Jaeger"; goto "check"
?(_unittype == "NCO") : _unittype = "fin_JaegerNCO"; goto "check"
?(_unittype == "sniper") : _unittype = "fin_JaegerSniper"; goto "check"
?(_unittype == "MG") : _unittype = "fin_JaegerMGkvkk62"; goto "check"
?(_unittype == "medic") : _unittype = "fin_Medic"; goto "check"
?(_unittype == "grenade") : _unittype = "fin_JaegerRK95RG"; goto "check"
?(_unittype == "officer") : _unittype = "fin_JaegerOfficer"; goto "check"
?(_unittype == "AT") : _unittype = "fin_JaegerATkes88"; goto "check"
?(_unittype == "radio") : _unittype = "fin_JaegerRadioman"; goto "check"
#check
~1
?(count Units dummygroup == 12) goto "check"
Well, right there, you're missing a : between the condition and result...
#create
~_createTime
_unittype createUnit [getMarkerPos _createPos, dummygroup, _init, 0.5, "PRIVATE"]
exit
Just scanning it quick, that's all I see...