Roll n-sided die with custom unequal chances for the sides.
This is really cool! Was looking for something like that! Will be great for random generation. Thanks!