Pastebin Troubleshooting with Nightbot

Hi all, I’m new to using pastebin with Nightbot (since I figured out this can bypass Nightbot’s 500 character cap commands), but I cannot figure out what’s wrong with the command to fix it to get it to pull the information from the pastebin.

This is what I have right now:

Your creature of the day is $(eval r=$(urlfetch json [link](https://pastebin.com/giKKerrH);a[Math.floor(Math.random()*a.length)])

And this is what Nightbot tells me:

Your creature of the day is a is not defined

Any help would be greatly appreciated, as I am not a coder lol

Hiya, change the first r to a
$(eval a = ...

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