Back to All

If statements appearing in chat response

Appreciate some help with the snatchbot syntax

I have the following specified in my interaction:
"Thanks for letting us know, your score is [showVar=Score] points!
[IF ([showVar=Score]<3){Based on your results, you are at low risk to society!}]
[IF ([showVar=Score]<6){Based on your results, you are at medium risk to society!}]
[IF ([showVar=Score]>6){Based on your results, you are at high risk to society!}]"

I don't understand what I am getting this output:
"Thanks for letting us know, your score is 0 points!
Based on your results, you are at low risk to society!
[IF (0<6){Based on your results, you are at medium risk to society!}]
[IF (0>6){Based on your results, you are at high risk to society!}]"