Skip to main content

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