Since actions in the team menu aren't sent as a hookable command, you'd probably need to edit the amx_teammenu command (or override and recreate the entire command in your own plugin at which point you could store whether or not they were moved there by an admin).