Switch on Custom Ints

I want switch on int, but it switches on custom ints.

Like I have ints 6, 8, 10. And I want to do do different things depending on what the int is.

Right now, I’m using branches (sphagetti), or switch on string (which is bad practice for this), or could use some complex math function.

Switch on custom ints would be great.

The out pins are right there, but there is just no way to customiza them.

You can just do it with a macro?..