Unexpected Identifier

Hi everyone!

I copy and pasted this code from a tut for auto responses for Nightbot and i’m getting the Unexpected Identifier message back in Twitch chat. I asked some people and they said it looks right but i’m getting these results. Can anyone double check if i’m missing a ; somewhere that I most likely missed? I’d really appreciate it.

$(user), $(eval a=“$(urlfetch json https://pastebin.com/raw/umFCryTd)”.split (“;”); a[Math.floor(Math.random()*a.length)])

Hiya, the pastebin in your command doesn’t exist.

2 Likes

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