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