using (ScriptAPI) { count = AddUShort("count"); for (i=0; i