The Popups don't want to be complex scripts that are confusing to look at by a hapless bystander. They should be simple and succinct.

If the default popups should change, at all, they should be to change +ooo to +oooo

Pro-tip, the IRC servers will automatically trim excessive unused op/voice modes for you, so there is never a reason to use $min() period.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!