Match Score prediction ! Need help

I’d like to make a command but i dont have enough skill to make it.
So it would be a score prediction
Example :
$(user) prediction for the match is : (score that is 13 or random) - (score that is 13 if the other is random)

Thanks !

Ok so you want one to be random and the other to be 13 is what I’m getting? Also what range of numbers would the random number be. I’ll make a template command from what I think you want:

!addcom !COMMAND_NAME @$(user)’s prediction for the match is $(eval a=Math.floor(Math.random()*NUMBER);b=[`13-`+a,a+`-13`];b[Math.floor(Math.random()*b.length)])

COMMAND_NAME is the command name you want.
NUMBER is how high the random number should go -1 (Ex.13 will only go from 0-12)
Those are the only things that should change unless you want a completely different command.

Ty it works the way I wanted <3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.