Like how to make a map change and have an intermission and the players teleport to the correct team spawn? when the map loads help?
One option is to look up scripts in Free Models to study how they do things - you're not the first to want to be able to do this.
The second option is to do it completely yourself (optionally with help like on this site when you get stuck - but you need to try it yourself and show us what your code-so-far is, first!). You need to split your task into pieces:
Tip: In whatever script is controlling all this, you'll need a while true do
loop, since you want it to keep playing maps until the server closes. Many of the above steps should be in their own function(s), for organization.