This already exists.
/who

It takes most of the same search arguments.
/who con 40-50
/who inv con