Team Select

Can someone give me a tutorial or blueprint for team select? Thank you!