I would assign numbers to each "prize". Like say, if you want one prize to have a 20% chance, assign it numbers 1-20. If a prize has a 10% chance, assign it numbers 1-10. Then have a random number generator pick a number, in this example between 1 and 100. Check to see which prize contains that number.