How do I make a 'x% chance of y' block?

basically something like this:

pick random from ((50)% chance of [a] :: operators)((25)% chance of [b] :: operators)((25)% chance of [c] :: operators) @delInput @addInput :: reporter operators

50% chance of reporting 'a'
25% chance of reporting 'b'
25% chance of reporting 'c'
and yes, i do understand the % symbol can cause bugs, but the only thing ive seen it do is delete the default values, so im fine

Just need to pick random 1-100, return a if 1-50, b if 51-75, c if 76-100

This unicode Fullwidth Percent Sign might be better to avoid any pitfalls with %

Slightly insane holiday style idea: fill the basket with the desired count of items, then pick the random one (chances are just numbers not %).


Samples distribution: ~1% inconsistency