$ const fullNames = (input.log.characters.length < 4); ${state.dateStr} ${input.log.channelName} ${(input.log.eventName || "").replace(/\s/g, " ")} ${fullNames ? character.name : character.shortName} ,