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