Nightbot help selecting from a list

Hey @JamesBCFC!

That’s because you forget parenthesis, here’s what you typed with the fix bellow:

$(eval a=$urlfetch json mylink);a[Math.floor(Math.random()*a.length])

$(eval a=$(urlfetch json LINK);a[Math.floor(Math.random()*a.length)])

That said, I’m not sure this will give you the desired result, as this will pick a random item of your array every time, and not give you specific information on the Pokemon you may be looking for, for that have a look here: