我对 if 语句有一点问题,因为它只填充最后一个 elseif
%%[IF @Add3 == "Y" AND @Add4 == "Y" AND @Add5 == "N" THEN
SET @WhichNom1 = "1"
SET @WhichNom2 = "2"
ELSEIF @Add3 == "Y" AND @Add4 == "N" AND @Add5 == "Y" THEN
SET @WhichNom1 = "1"
SET @WhichNom2 = "3"
ELSEIF @Add3 == "N" AND @Add4 == "Y" AND @Add5 == "Y" THEN
SET @WhichNom1 = "1"
SET @WhichNom2 = "3"
]%%
@WhichNom1
@WhichNom2
%%[ENDIF]%%
当最后一个 ELSEIF 为 TRUE 时,上面的代码将显示两个变量。我需要做什么来检查 3 个语句并为每个场景显示 WhichNom1 和 WhichNom2?
谢谢丹