@Xellath: That code would work well if there aren't too many people on the server. I'd have some problems with switching everybody's teams when there are 32 people on the server (the server crashes). The only ways I know to fix them are to either delay the team switches (1-8 go 0.1 seconds after change, 9-17 go 0.2 seconds after, 18-24 go 0.3 seconds after, and 24-32 go 0.4 seconds after) OR you can use this module:
http://forums.alliedmods.net/showthread.php?t=163555
__________________