Twitch is not defined

I am a korean streamer, so I am going to make korean greeting.
But when i made this code,
Oh, you came from $(eval if($(provider)==“twitch”){트위치}) ! // 트위치 means twitch
And it says “twitch is not defined” when I executed it. Why does it say so?
I can’t understand it. Please teach it me.

Your provider and output text needs to be wrapped as a string

$(eval if('$(provider)'=='twitch'){'트위치'})

wow, it works! I really thank you for it…!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.