Gerhard said:
$(user), $(eval a=$(urlfetch json https://pastebin.com/raw/XXXXX).split(";");a[Math.floor(Math.random()*a.length)])
I was getting the error message on the tittle (code genration from strings disallowed for ths context)
with this code you gave (which uses a raw option from pastebin) I am getting yet another error, it says "unexpected token ";" ".
I realized now I should have used a raw option in my first attempt, I'm clearly pretty dumb in regards to all sorts of codings, but I still don't know how to fix this current error.
my code is just a test code, as folllows:
1. Test.;
2. Test2;
tried with and without numbers. got slightly different erros, unexpected token and unexpected indetifier.
@Polar Cat too, thanks!