# Dynamic rotation configuration.
# Configure them just like configuring the rotation in the server.cfg with addition of putting them inside a field such as r1map=''.
# It's of extremely importance that you remove the rotation from the server.cfg in your current server.cfg at your first run, or the dynamic rotation won't work.
# It's also important to remove the vstr starting the first map such as "vstr d1" or the server won't load properly.

# Date code for autodownload.

versionc="20052010" # NEVER CHANGE THIS LINE OR AUTODOWNLOAD WILL BREAK.

# Do not remove or edit the // lines, they are used for checks.
# Leave the rXmap options not used by your rotation empty.

# VSTR to start the first map.

vstr="vstr d1"

# Sunday's rotation.

dr1="// Dynamic Rotation - Sunday. * code01sun *" # DO NOT CHANGE THIS LINE.

r1map1='set d1 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d2"'
r1map2='set d2 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d3"'
r1map3='set d3 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d4"'
r1map4='set d4 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d5"'
r1map5='set d5 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d6"'
r1map6='set d6 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d7"'
r1map7='set d7 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d1"'
r1map8=''
r1map9=''
r1map10=''
r1map11=''
r1map12=''
r1map13=''
r1map14=''
r1map15=''
r1map16=''
r1map17=''
r1map18=''
r1map19=''
r1map20=''

# Monday's rotation.

dr2="// Dynamic Rotation - Monday. * code02mon *" # DO NOT CHANGE THIS LINE.

r2map1='set d1 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d2"'
r2map2='set d2 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d3"'
r2map3='set d3 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d4"'
r2map4='set d4 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d5"'
r2map5='set d5 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d6"'
r2map6='set d6 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d7"'
r2map7='set d7 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d1"'
r2map8=''
r2map9=''
r2map10=''
r2map11=''
r2map12=''
r2map13=''
r2map14=''
r2map15=''
r2map16=''
r2map17=''
r2map18=''
r2map19=''
r2map20=''

# Tuesday's rotation.

dr3="// Dynamic Rotation - Tuesday. * code03tue *" # DO NOT CHANGE THIS LINE.

r3map1='set d1 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d2"'
r3map2='set d2 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d3"'
r3map3='set d3 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d4"'
r3map4='set d4 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d5"'
r3map5='set d5 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d6"'
r3map6='set d6 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d7"'
r3map7='set d7 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d1"'
r3map8=''
r3map9=''
r3map10=''
r3map11=''
r3map12=''
r3map13=''
r3map14=''
r3map15=''
r3map16=''
r3map17=''
r3map18=''
r3map19=''
r3map20=''

# Wednesday's rotation.

dr4="// Dynamic Rotation - Wednesday. * code04wed *" # DO NOT CHANGE THIS LINE.

r4map1='set d1 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d2"'
r4map2='set d2 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d3"'
r4map3='set d3 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d4"'
r4map4='set d4 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d5"'
r4map5='set d5 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d6"'
r4map6='set d6 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d7"'
r4map7='set d7 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d1"'
r4map8=''
r4map9=''
r4map10=''
r4map11=''
r4map12=''
r4map13=''
r4map14=''
r4map15=''
r4map16=''
r4map17=''
r4map18=''
r4map19=''
r4map20=''

# Thursday's rotation.

dr5="// Dynamic Rotation - Thursday. * code05thu *" # DO NOT CHANGE THIS LINE.

r5map1='set d1 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d2"'
r5map2='set d2 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d3"'
r5map3='set d3 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d4"'
r5map4='set d4 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d5"'
r5map5='set d5 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d6"'
r5map6='set d6 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d7"'
r5map7='set d7 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d1"'
r5map8=''
r5map9=''
r5map10=''
r5map11=''
r5map12=''
r5map13=''
r5map14=''
r5map15=''
r5map16=''
r5map17=''
r5map18=''
r5map19=''
r5map20=''

# Friday's rotation.

dr6="// Dynamic Rotation - Friday. * code06fri *" # DO NOT CHANGE THIS LINE.

r6map1='set d1 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d2"'
r6map2='set d2 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d3"'
r6map3='set d3 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d4"'
r6map4='set d4 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d5"'
r6map5='set d5 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d6"'
r6map6='set d6 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d7"'
r6map7='set d7 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d1"'
r6map8=''
r6map9=''
r6map10=''
r6map11=''
r6map12=''
r6map13=''
r6map14=''
r6map15=''
r6map16=''
r6map17=''
r6map18=''
r6map19=''
r6map20=''

# Saturday's rotation.

dr7="// Dynamic Rotation - Saturday. * code07sat *"

r7map1='set d1 "set g_gametype 7; map mb2_jabba ; set nextmap vstr d2"'
r7map2='set d2 "set g_gametype 7; map mb2_dotf ; set nextmap vstr d3"'
r7map3='set d3 "set g_gametype 7; map mb2_enclave ; set nextmap vstr d4"'
r7map4='set d4 "set g_gametype 7; map mb2_lunarbase ; set nextmap vstr d5"'
r7map5='set d5 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d6"'
r7map6='set d6 "set g_gametype 7; map mb2_commtower ; set nextmap vstr d7"'
r7map7='set d7 "set g_gametype 7; map mb2_coruscant_chase ; set nextmap vstr d1"'
r7map8=''
r7map9=''
r7map10=''
r7map11=''
r7map12=''
r7map13=''
r7map14=''
r7map15=''
r7map16=''
r7map17=''
r7map18=''
r7map19=''
r7map20=''