This is my command and I don’t know why but it doesn’t return a random number, for the tests I did it always returns the same number.
$(user) lanza el dado de 20 y… $(eval n = Math.floor(Math.random() *20+1);
DN=$(urlfetch json URL);
DP=$(urlfetch json URL);
DC=$(urlfetch json URL);
n <= 2 ? (n + " " + DP[Math.floor(Math.random()*DP.length)]): n >= 19 ? (n + " " + DC[Math.floor(Math.random()*DC.length)]):(n + " " + DN[Math.floor(Math.random()*DN.length)])) $(touser)