command support :)

Basically im making a rizz command where it will just send a random rizz message from this pastebin script thingy (rizz - Pastebin.com) the command is $(eval a=$(urlfetch json rizz - Pastebin.com);a[parseInt(decodeURIComponent($(querystring)))-1]||a[Math.floor(Math.random()*a.length)]) and it gives the error “Unexpected token ‘<’ [:1:3]” would appreciate some help :slight_smile:

Here is a revised code to get a random message from the pastebin, I had to edit your pastebin to change the quotes as they included ’ in some of them

I also used the raw version

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