Post
Topic
Board Gambling
Re: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts!
by
kwong1983
on 17/04/2020, 05:04:17 UTC
chance  = math.random(1,10)

I need help. How do i code the chance lower than 1? like 0.10(990x Payout)

Thanks

increase your maximum in the random call by some order of magnitude and the divide the result again by the same order of magnitude.

ie math.random(1,10*100)/100.0

Thanks  Grin