Hi,
here is an extention of the gate external of iemlib1 (it's a patch file for gate.c). It basically adds the functionality of Max/MSP's gate enabling to route to more than 1 outlet. Except for the (still) swapped inlets I think it's now compatible to the Max/MSP object.
The object is fully backwards compatible to the old gate object, adding an optional second argument to specify an initialization for the route. Compared to the original object, efficiency is exactly the same for the left inlet, and slightly less efficient for the right inlet, due to error processing. I also updated the help patch and think it'd be nice, if it got integrated into the iemlib1 (is that possible, Thomas?).
Enjoy,
Orm