Emily
May 1, 2021, 9:54am
4
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:
Hey @Vanderbeam !
You can easily do this by using the power of JSON!
First go to Pastebin , create an account in order to be able to add more games in the future.
Next create your JSON file, here’s how to do it:
{
"game name": "description",
"second game": "description",
"third game": "description",
"nth game": "description"
}
Click here for more explanation on the JSON format.
Note: if you need to add a ", a /, or a \ in your text, you’ll need to precede it by a back slash \,…