a little help with wiremod here

I’m with a problem with wiremod, I need some wire expert that could help please

How do I build a wire system or e2 expression to select between 2 different outputs with 1 input???
like: a button that selects between 2 different outputs with 1 input (the input value is random)
and 3 outputs? and 4?

I’m good with gates but I couldnt find a way to do this with gates, and I suck with e2, I just know the basic expression, with “if” (if (A==something) {B=something})