I've created a command for mods only that uses a low random percentage generator. I'd like a range of decimals to show up in the percentage. However, it seems to be stuck and always puts .001 at the end of the percentage and no other variation of decimal.
here's what the command looks like:
!commands add !modding -ul=moderator $(user) is modding at $(eval min = 0.001; max = 25.0; Math.floor(Math.random() * (max - min + 1)) + min;)% today o7
so for example the outcome always looks like:
ehayys is modding at 16.001% today o7
should I be inputting the min/max number differently? thanks!