An Random Rating Scale


#1

Hi! I’m a mod for the twitch streamer CleGFX, and I wanted to make a command called “!opinion @(name)” that gives a random rating to that person specifically. I would want it from 0/10 to 10/10.

Can someone do this to me? I am new to the Custom API scene, so I wanted someone else to help without messing it up. Thanks!


#2

You can make this using $(userid) but the user would need to use it themselves.

!commands add !opinion Your rating is: $(eval $(userid)%11)/10


#3

Thanks! I guess that could work.


#5

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