Back to All

Extra Brackets being displayed in chatbot conversation

I am using Nested IF conditions in a bot statements. The statement looks like this -

[IF([ShowVar=qcount1]=0){[IF([responseTo interaction=512652 fallback=no]=1+4+5){[customVar score=[ADD [[ShowVar=score],5 ]]]}]}]

When the first IF condition is true (i.e. IF(ShowVar=qcount1]=0) everything works fine.
But when this condition evaluates to false, an extra set of brackets }] are displayed at the beginning of the conversation. Is there any way to avoid this?