Right-hand side of 'instanceof' is not an object Error

This code doesn’t work idk why
$(eval if(!$(query)){Please ask a Question ( !8ball )}else{r=[“It is certain”,”It is decidedly so”,”Without a doubt”,”Yes definitely”,”You may rely on it”,”As I see it, yes”,”Most likely”,”Yes”,”Signs point to yes”,”Reply hazy, try again”,”Ask again later”,”Better not tell you now”,”Cannot predict now”,”Don’t count on it”,”My reply is no”,”My sources say no”,”Very doubtful”];(r[ Math.floor(Math.random() * r.length) ])+ @$(user)})
Please help. I feel like maybe twitch has changed stuff recently because most commands don’t work now all of a sudden.

Cleaned up.

$(eval if(!decodeURIComponent(`$(querystring)`)){`Please ask a Question (!8ball)`;}else{r=[`It is certain`,`It is decidedly so`,`Without a doubt`,`Yes definitely`,`You may rely on it`,`As I see it, yes`,`Most likely`,`Yes`,`Signs point to yes`,`Reply hazy, try again`,`Ask again later`,`Better not tell you now`,`Cannot predict now`,`Don’t count on it`,`My reply is no`,`My sources say no`,`Very doubtful`];r[Math.floor(Math.random()*r.length)]+` @$(user)`;})
1 Like

Thanks king! :heart::smiling_face_with_three_hearts: I really appreciate it.

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