using (ScriptAPI) { AddUShort("ErrorCode"); AddByte("PartMark"); count = AddUShort("Count"); for(i=0; i