I have been searching everywhere on YouTube on how to create a gamble command for nightbot and haven’t found anything. I’ve seen some streamers have a command !Gamble so they can gamble a certain amount of points (channel points from twitch) in chat. Does anyone know how this would work?
Also I have one more Plz.
I have a flip a coin but Im not sure how to make the results random as well and not fixed for only heads as lose and tail as won. Help would be appreciated
$(eval Math.floor(Math.random()*2)==0?Heads, $(user) lost...
:Tails, $(user) won!
)
The following line you listed is random between 0 - false and 1 - true. Otherwise Nightbot is not able to modify channel points so perhaps they were using a custom built system.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.