How to use pastebin list in Nightbot

Hello, I am trying to make a Nightbot command using pastebin and I was receiving a message that read [Response must be less than 400 characters] so I adjusted my written text and now I am getting Unexpected identifier, what do I do to fix this?

I am using

$(eval a=$(urlfetch json https://pastebin.com/raw/B8VR6NVZ
);a[Math.floor(Math.random()*a.length)])

'You play ball like Shaquille O'Neal',
Should be
'You play ball like Shaquille O\'Neal',

so is that the only issue?

The only one I saw it’s not my job to check your code.

1 Like

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