Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user

%%[ Var @msg
if (Uppercase([MSG(0).NOUN(0)]) == "STEP2") then
Set @msg = "Downtown"

else

Set @msg = "We're sorry that's incorrect" endif ]%%

%%= v(@msg) =%%

%%[ Var @msg  
if (Uppercase([MSG(0).NOUN(0)]) == "STEP2") then  
Set @msg = "Downtown"

else

Set @msg = "We're sorry that's incorrect"
endif ]%% 

%%= v(@msg) =%%

STEP2' is defined as Keyword. When I reply with STEP2, it is not identifying IF statement and enters into else statement everytime. Not sure why?? please help

%%[ Var @msg
if (Uppercase([MSG(0).NOUN(0)]) == "STEP2") then
Set @msg = "Downtown"

else

Set @msg = "We're sorry that's incorrect" endif ]%%

%%= v(@msg) =%%

STEP2' is defined as Keyword. When I reply with STEP2, it is not identifying IF statement and enters into else statement everytime. Not sure why?? please help

%%[ Var @msg  
if (Uppercase([MSG(0).NOUN(0)]) == "STEP2") then  
Set @msg = "Downtown"

else

Set @msg = "We're sorry that's incorrect"
endif ]%% 

%%= v(@msg) =%%

STEP2' is defined as Keyword. When I reply with STEP2, it is not identifying IF statement and enters into else statement everytime. Not sure why?? please help

Source Link

MobileConnect, AMPSCRIPT

%%[ Var @msg
if (Uppercase([MSG(0).NOUN(0)]) == "STEP2") then
Set @msg = "Downtown"

else

Set @msg = "We're sorry that's incorrect" endif ]%%

%%= v(@msg) =%%

STEP2' is defined as Keyword. When I reply with STEP2, it is not identifying IF statement and enters into else statement everytime. Not sure why?? please help