Join the forums now, and start posting to receive access to our Scripts Vault!
The scores that are being generated automatically will depend on the players. For example, a player that isn't that good will score less runs but a better players will more runs, same with the bowlers, players that aren't that good will concede more runs than better players.
$batter = rand(0,2);0 = 50%1 = 30%2 = 20%How can i apply the percentages so that the number 0 will come out on the browser 50% of the time and so on...