75
;
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * UEFA Champions League (CHAMPIONSLEAGUE) ----------------------------------------------------------------------------------------------------------------------
; * Europa League (UEFA_CUP) ------------------------------------------------------------------------------------------------------------------------------------------
; * UEFA Super Cup (EURO_SUPERCUP) ---------------------------------------------------------------------------------------------------------------------------
; * World Club Champs Cup (WORLD_CLUB_CHAMP)---------------------------------------------------------------------
;  Script By Horhgh
;  28.05.2017
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; -----------------------------------------------------------------------------
; - Champions Cup 17/18 Script File
; -----------------------------------------------------------------------------
;
; Pool with all participants that will play in the Champions Cup. If the title
; holder will also qualify via national league, the order will move one up so
; there needs to be more instructions to ensure that the pool will be filled.
%INDEX%EURO0
DB_POOL
{ 249, CHAMPIONSLEAGUE, 0 }		; Competition: Competition ID
1								; Pool: Number of Pools(ignored, will be always one)
79								; Pool: Number of Teams 6+31+3+8+6+22
0								; Pool: Sort Flags
0								; Pool: Number of competition constraints (Teams that play in those competitions will be filtered)
0								; Pool: Money bonus - ignored
0								; Pool: Money bonus - ignored
0								; Pool: Money bonus - ignored
0								; Pool: Money bonus - ignored
0								; Competition: Number of substitutions (ignored on pools)
0								; Competition: League Level (0 = highest - international competitions always have 0)
0								; Competition: Predecessor (0 = none)
{ 249, CHAMPIONSLEAGUE, 1 }, { 249, CHAMPIONSLEAGUE, 7 }		; Competition: Successors (here: First round of champions cup)
175								; Competition: Number of instructions used. If greater than actual nubmer of instructions the last instruction must be END_OF_ENTRY
; - Phase de Groupes (22 teams - offset 0-21)
; GET_CHAMP, { 249, CHAMPIONSLEAGUE, 21 }
GET_EUROPEAN_ASSESSMENT_TEAMS,  1, 1, 3
GET_EUROPEAN_ASSESSMENT_TEAMS,  2, 1, 3
GET_EUROPEAN_ASSESSMENT_TEAMS,  3, 1, 3
GET_EUROPEAN_ASSESSMENT_TEAMS,  4, 1, 2
GET_EUROPEAN_ASSESSMENT_TEAMS,  5, 1, 2
GET_EUROPEAN_ASSESSMENT_TEAMS,  6, 1, 2
GET_EUROPEAN_ASSESSMENT_TEAMS,  7, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  8, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  9, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 10, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 11, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 12, 1, 1
GET_CHAMP, { 249, UEFA_CUP, 27 }
; - Play-off (non-champions) (5 Teams - offset 22-26)
GET_EUROPEAN_ASSESSMENT_TEAMS,  1, 4, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  2, 4, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  3, 4, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  4, 3, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  5, 3, 1
; - 3ème tour de qualification (non-champions) (10 teams - offset 27-36)
GET_EUROPEAN_ASSESSMENT_TEAMS,  6, 3, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  7, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  8, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS,  9, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 10, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 11, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 12, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 13, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 14, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 15, 2, 1
; - 3ème tour de qualification (champions) (3 Teams - offset 37-39)
GET_EUROPEAN_ASSESSMENT_TEAMS, 13, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 14, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 15, 1, 1
; - Deuxième tour de qualification (29 Teams  offset 40-68)
GET_EUROPEAN_ASSESSMENT_TEAMS, 16, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 17, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 18, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 19, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 20, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 21, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 22, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 23, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 24, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 25, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 26, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 27, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 28, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 29, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 30, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 31, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 32, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 33, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 34, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 35, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 36, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 37, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 38, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 39, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 40, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 41, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 42, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 43, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 44, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 45, 1, 1
; - Premier tour de qualification (10 teams offset 69-78)
GET_EUROPEAN_ASSESSMENT_TEAMS, 46, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 47, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 48, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 49, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 50, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 51, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 52, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 53, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 54, 1, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 55, 1, 1
; Safty - bound teams 
GET_EUROPEAN_ASSESSMENT_TEAMS, 41, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 42, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 43, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 44, 2, 1
GET_EUROPEAN_ASSESSMENT_TEAMS, 45, 2, 1
END_OF_ENTRY							; Last entry marker
%INDEXEND%EURO0
; -----------------------------------------------------------------------------
; Champions Cup 1st Qualification round
; -----------------------------------------------------------------------------
%INDEX%EURO1
DB_POOL
{ 249, CHAMPIONSLEAGUE, 1 }
1
10
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 249, CHAMPIONSLEAGUE, 0 }
{ 249, CHAMPIONSLEAGUE, 2 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 0 }
69
10
%INDEXEND%EURO1
%INDEX%EURO2
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 2 }
1er tour de qualification
10
ROUND_QUALI
; Spieltage
3
3
BEG_2ND_LEG
10
10
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
100000
0
0
70000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 1 }
{ 249, CHAMPIONSLEAGUE, 3 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 1 }
0
10
%INDEXEND%EURO2
; -----------------------------------------------------------------------------
; Champions Cup 2nd Qualification round
; -----------------------------------------------------------------------------
%INDEX%EURO3
DB_POOL
{ 249, CHAMPIONSLEAGUE, 3 }
1
34
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 249, CHAMPIONSLEAGUE, 2 }
{ 249, CHAMPIONSLEAGUE, 4 }
2
GET_POOL, { 249, CHAMPIONSLEAGUE, 0 }
40 
29 
GET_WINNER, { 249, CHAMPIONSLEAGUE, 2 }
%INDEXEND%EURO3
%INDEX%EURO4
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 4 }
2ème tour de qualification
34
ROUND_QUALI
; Spieltage
17
17
BEG_2ND_LEG
24
24
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
100000
0
0
120000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 3 }
{ 249, CHAMPIONSLEAGUE, 5 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 3 }
0
34
%INDEXEND%EURO4
; -----------------------------------------------------------------------------
; Champions Cup 3rd Qualification round
; -----------------------------------------------------------------------------
%INDEX%EURO5
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 5 }
Champions - 3ème tour de qualif
20
ROUND_QUALI
; Spieltage
31
31
BEG_2ND_LEG
38
38
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
100000
0
0
180000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 4 }
{ 249, CHAMPIONSLEAGUE, 6 }
2
GET_POOL, { 249, CHAMPIONSLEAGUE, 0 }
37
3
GET_WINNER, { 249, CHAMPIONSLEAGUE, 4 }
%INDEXEND%EURO5
; -----------------------------------------------------------------------------
; Champions Cup Play-Offs
; -----------------------------------------------------------------------------
%INDEX%EURO6
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 6 }
Champions - Play-off
10
ROUND_QUALI
; Spieltage
45
45
BEG_2ND_LEG
52
52
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
0
2100000
0
250000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 5 }
{ 249, CHAMPIONSLEAGUE, 10 }
1
GET_WINNER, { 249, CHAMPIONSLEAGUE, 5 }
%INDEXEND%EURO6
;---------------------------------------------------------------------
; Champions Cup 3rd Qualification round
;--------------------------------------------------------------------
%INDEX%EURO7
DB_POOL
{ 249, CHAMPIONSLEAGUE, 7 }
1
10
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 249, CHAMPIONSLEAGUE, 0 }
{ 249, CHAMPIONSLEAGUE, 8 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 0 }
27
10 
%INDEXEND%EURO7
%INDEX%EURO8
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 8 }
Non-champions - 3ème tour de qualif
10
ROUND_QUALI
; Spieltage
31
31
BEG_2ND_LEG
38
38
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
100000
0
0
180000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 7 }
{ 249, CHAMPIONSLEAGUE, 9 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 7 }
0
10
%INDEXEND%EURO6
;-------------------------------------------------------------------
; Qualifikation Championsleague Playoff
;---------------------------------------------------------------------
%INDEX%EURO9
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 9 }
Non-champions - Play-off
10
ROUND_QUALI
; Spieltage
45
45
BEG_2ND_LEG
52
52
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
0
2100000
0
250000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 8 }
{ 249, CHAMPIONSLEAGUE, 10 }
2
GET_POOL, { 249, CHAMPIONSLEAGUE, 0 }
22 
5
GET_WINNER, { 249, CHAMPIONSLEAGUE, 8 } 
%INDEXEND%EURO9
;--------------------------------------------------------
; Pool Gruppenspiele Champions League     
;-------------------------------------------------------------
%INDEX%EURO10
DB_POOL
{ 249, CHAMPIONSLEAGUE, 10 }
1	; 1 Pool
32	; mit 32 Teams
POOL_SORT_CHAMPIONSCUP_GROUP
;welche Pools abchecken
0
; Bonuses
0
0
0
0
; Subst
0
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 9 }, { 249, CHAMPIONSLEAGUE, 6 }
{ 249, CHAMPIONSLEAGUE, 16 }, { 249, CHAMPIONSLEAGUE, 17 }, { 249, CHAMPIONSLEAGUE, 18 }, { 249, CHAMPIONSLEAGUE, 11 }, { 249, CHAMPIONSLEAGUE, 12 }, { 249, CHAMPIONSLEAGUE, 13 }, { 249, CHAMPIONSLEAGUE, 14 }, { 249, CHAMPIONSLEAGUE, 15 }
3
GET_POOL, { 249, CHAMPIONSLEAGUE, 0 }
0
22
GET_WINNER, { 249, CHAMPIONSLEAGUE, 6 }
GET_WINNER, { 249, CHAMPIONSLEAGUE, 9 }
%INDEXEND%EURO10
; -----------------------------------------------------
; Gruppenspiele Championsleague
; -----------------------------------------------------
; 8 Ligen für Championsleague
; Aufbau
; ID
; Typ
; #Ligen
; 4 Teams
; Vorgänger Ligen
; Gruppe 1
%INDEX%EURO11
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 11 }
_ID_GROUP_A
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
72,87,107,122,142,157
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
72,87,107,122,142,157
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
0
4
%INDEXEND%EURO11
; Gruppe 2
%INDEX%EURO12
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 12 }
_ID_GROUP_B
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
72,87,107,122,142,157
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
72,87,107,122,142,157
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
4
4
%INDEXEND%EURO12
; Gruppe 3
%INDEX%EURO13
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 13 }
_ID_GROUP_C
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
72,87,107,122,142,157
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
72,87,107,122,142,157
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
8
4
%INDEXEND%EURO13
; Gruppe 4
%INDEX%EURO14
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 14 }
_ID_GROUP_D
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
72,87,107,122,142,157
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
72,87,107,122,142,157
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
12
4
%INDEXEND%EURO14
; Gruppe 5
%INDEX%EURO15
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 15 }
_ID_GROUP_E
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
73,86,108,121,143,156
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
73,86,108,121,143,156
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
16
4
%INDEXEND%EURO15
; Gruppe 6
%INDEX%EURO16
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 16 }
_ID_GROUP_F
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
73,86,108,121,143,156
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
73,86,108,121,143,156
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
20
4
%INDEXEND%EURO16
; Gruppe 7
%INDEX%EURO17
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 17 }
_ID_GROUP_G
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
73,86,108,121,143,156
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
73,86,108,121,143,156
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
24
4
%INDEXEND%EURO17
; Gruppe 8
%INDEX%EURO18
DB_LEAGUE
{ 249, CHAMPIONSLEAGUE, 18 }
_ID_GROUP_H
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
73,86,108,121,143,156
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
73,86,108,121,143,156
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
2,1,4,3
3,2,1,4
%INDEXEND%FIXTURE
; Bonuse - dotation par match - victoire - nul - droits TV
2000000
1500000
500000
6000000
;Transfer
7
1459569736
756
; Subst
3
0
;
{ 249, CHAMPIONSLEAGUE, 10 }
{ 249, CHAMPIONSLEAGUE, 19 }, { 249, UEFA_CUP, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 10 }
28
4
%INDEXEND%EURO18
%INDEX%EURO19
DB_POOL
{ 249, CHAMPIONSLEAGUE, 19 }
1 ; 1 Liste
16 ; 16 8 Einträge
POOL_SORT_CHAMPIONSCUP_LAST_16 ; Sort
; welche Pools abchecken
0
; Bonuses
0
0
0
0
; Subst
0
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 16 }, { 249, CHAMPIONSLEAGUE, 17 }, { 249, CHAMPIONSLEAGUE, 18 }, { 249, CHAMPIONSLEAGUE, 11 }, { 249, CHAMPIONSLEAGUE, 12 }, { 249, CHAMPIONSLEAGUE, 13 }, { 249, CHAMPIONSLEAGUE, 14 }, { 249, CHAMPIONSLEAGUE, 15 }
{ 249, CHAMPIONSLEAGUE, 20 }
8
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 16 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 17 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 18 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 11 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 12 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 13 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 14 }
1
2
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 15 }
1
2
%INDEXEND%EURO19
; -------------
; Last 16
; -------------
%INDEX%EURO20
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 20 }
_ID_LAST_16
16
ROUND_LAST_16
; Spieltage
234
227
BEG_2ND_LEG
255
248
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
5500000
0
0
2500000
; Num Subs
3
0
;
{ 249, CHAMPIONSLEAGUE, 19 }
{ 249, CHAMPIONSLEAGUE, 21 }
1
GET_POOL, { 249, CHAMPIONSLEAGUE, 19 }
0
16
%INDEXEND%EURO20
; ------------------------------------------------
; Quarter finals
; ------------------------------------------------
%INDEX%EURO21
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 21 }
_ID_QUARTERFINAL
8
ROUND_QUARTERFINAL
; Spieltage
283
276
BEG_2ND_LEG
290
283
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
6000000
0
0
3500000
; Num Subs
3
0
;
{ 249, CHAMPIONSLEAGUE, 20 }
{ 249, CHAMPIONSLEAGUE, 22 }
1
GET_WINNER, { 249, CHAMPIONSLEAGUE, 20 }
%INDEXEND%EURO21
;-------------------------------------------------
; Semi Finals
; ------------------------------------------------
%INDEX%EURO22
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 22 }
_ID_SEMIFINAL
4
ROUND_SEMIFINAL
; Spieltage
304
297
BEG_2ND_LEG
311
304
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
7000000
0
0
5000000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 21 }
{ 249, CHAMPIONSLEAGUE, 23 }
1
GET_WINNER, { 249, CHAMPIONSLEAGUE, 21 }
%INDEXEND%EURO22
;------------------------------------------------
; Finale
;------------------------------------------------
%INDEX%EURO23
DB_ROUND
{ 249, CHAMPIONSLEAGUE, 23 }
_ID_FINAL
2
ROUND_FINAL
; Spieltage
335
321
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
10500000
4500000
0
10000000
; Num Subs
3
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 22 }
-1
1
GET_WINNER, { 249, CHAMPIONSLEAGUE, 22 }
%INDEXEND%EURO23
;
; -----------------------------------------------------------------------------
; - Europa League 17/18 Script File
; -----------------------------------------------------------------------------
;
; Pool with all participants that will play in the Europa League. If the title
; holder will also qualify via national league, the order will move one up so
; there needs to be more instructions to ensure that the pool will be filled.
; External links to the competition:
; { 249, CHAMPIONSLEAGUE, 4 } Losers champions cup play-offs
; { 249, CHAMPIONSLEAGUE, 15 } Group stage champions cup 3rd place teams
%INDEX%EURO26
DB_POOL
{ 249, UEFA_CUP, 0 }			; Competition: Competition ID
1								; Pool: Number of Pools(ignored, will be always one)
158								; Pool: Number of Teams (8 + 19 + 18 + 43 + 74) 
0								; Pool: Sort Flags
1								; Pool: Number of competition constraints (Teams that play in those competitions will be filtered)
{ 249, CHAMPIONSLEAGUE, 0 }		; Pool: Do not add clubs which are in that pool
0								; Pool: Money bonus - ignored
0								; Pool: Money bonus - ignored
0								; Pool: Money bonus - ignored
0								; Pool: Money bonus - ignored
0								; Competition: Number of substitutions (ignored on pools)
0								; Competition: League Level (0 = highest - international competitions always have 0)
0								; Competition: Predecessor (0 = none)
{ 249, UEFA_CUP, 1 } 			; Competition: Successors (here: First round of champions cup)
200								; Competition: Number of instructions used. If greater than actual nubmer of instructions the last instruction must be END_OF_ENTRY
; --- Phases de Groupes ----------(16 teams  - offset 0-15)
RESERVE_ASSESSMENT_TEAMS,  1, 2
RESERVE_ASSESSMENT_TEAMS,  2, 2
RESERVE_ASSESSMENT_TEAMS,  3, 2
RESERVE_ASSESSMENT_TEAMS,  4, 2
RESERVE_ASSESSMENT_TEAMS,  5, 1
RESERVE_ASSESSMENT_TEAMS,  6, 1
RESERVE_ASSESSMENT_TEAMS,  7, 1
RESERVE_ASSESSMENT_TEAMS,  8, 1
RESERVE_ASSESSMENT_TEAMS,  9, 1
RESERVE_ASSESSMENT_TEAMS, 10, 1
RESERVE_ASSESSMENT_TEAMS, 11, 1
RESERVE_ASSESSMENT_TEAMS, 12, 1
RESERVE_ASSESSMENT_TEAMS, 13, 1
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  1
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  2
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  3
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  4
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  5
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  6
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  7
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  8
GET_EUROPEAN_ASSESSMENT_CUPWINNER,  9
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 10
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 11
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 12
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 13
FILL_ASSESSMENT_RESERVES
; Troisème tour de qualification (25 teams offset 17-41)
RESERVE_ASSESSMENT_TEAMS,  1, 1
RESERVE_ASSESSMENT_TEAMS,  2, 1
RESERVE_ASSESSMENT_TEAMS,  3, 1
RESERVE_ASSESSMENT_TEAMS,  4, 1
RESERVE_ASSESSMENT_TEAMS,  5, 2
RESERVE_ASSESSMENT_TEAMS,  6, 2
RESERVE_ASSESSMENT_TEAMS,  7, 2
RESERVE_ASSESSMENT_TEAMS,  8, 2
RESERVE_ASSESSMENT_TEAMS,  9, 2
RESERVE_ASSESSMENT_TEAMS, 10, 1
RESERVE_ASSESSMENT_TEAMS, 11, 1
RESERVE_ASSESSMENT_TEAMS, 12, 1
RESERVE_ASSESSMENT_TEAMS, 13, 1
RESERVE_ASSESSMENT_TEAMS, 14, 2
RESERVE_ASSESSMENT_TEAMS, 15, 2
RESERVE_ASSESSMENT_TEAMS, 16, 1
RESERVE_ASSESSMENT_TEAMS, 17, 1
RESERVE_ASSESSMENT_TEAMS, 18, 1
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 14
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 15
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 16
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 17
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 18
FILL_ASSESSMENT_RESERVES
; Deuxième tour de qualification (16 teams offset 42-57)
RESERVE_ASSESSMENT_TEAMS, 10, 1
RESERVE_ASSESSMENT_TEAMS, 11, 1
RESERVE_ASSESSMENT_TEAMS, 12, 1
RESERVE_ASSESSMENT_TEAMS, 13, 1
RESERVE_ASSESSMENT_TEAMS, 14, 1
RESERVE_ASSESSMENT_TEAMS, 15, 1
RESERVE_ASSESSMENT_TEAMS, 16, 1
RESERVE_ASSESSMENT_TEAMS, 17, 1
RESERVE_ASSESSMENT_TEAMS, 19, 1
RESERVE_ASSESSMENT_TEAMS, 20, 1
RESERVE_ASSESSMENT_TEAMS, 21, 1
RESERVE_ASSESSMENT_TEAMS, 22, 1
RESERVE_ASSESSMENT_TEAMS, 23, 1
RESERVE_ASSESSMENT_TEAMS, 24, 1
RESERVE_ASSESSMENT_TEAMS, 25, 1
RESERVE_ASSESSMENT_TEAMS, 26, 1
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 19
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 20
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 21
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 22
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 23
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 24
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 25
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 26
FILL_ASSESSMENT_RESERVES
; Premier tour de qualification (100 teams - offset 58-157)
RESERVE_ASSESSMENT_TEAMS, 16, 1
RESERVE_ASSESSMENT_TEAMS, 17, 1
RESERVE_ASSESSMENT_TEAMS, 18, 2
RESERVE_ASSESSMENT_TEAMS, 19, 2
RESERVE_ASSESSMENT_TEAMS, 20, 2
RESERVE_ASSESSMENT_TEAMS, 21, 2
RESERVE_ASSESSMENT_TEAMS, 22, 2
RESERVE_ASSESSMENT_TEAMS, 23, 2
RESERVE_ASSESSMENT_TEAMS, 24, 2
RESERVE_ASSESSMENT_TEAMS, 25, 2
RESERVE_ASSESSMENT_TEAMS, 26, 2
RESERVE_ASSESSMENT_TEAMS, 27, 3
RESERVE_ASSESSMENT_TEAMS, 28, 3
RESERVE_ASSESSMENT_TEAMS, 29, 3
RESERVE_ASSESSMENT_TEAMS, 30, 3
RESERVE_ASSESSMENT_TEAMS, 31, 3
RESERVE_ASSESSMENT_TEAMS, 32, 3
RESERVE_ASSESSMENT_TEAMS, 33, 3
RESERVE_ASSESSMENT_TEAMS, 34, 3
RESERVE_ASSESSMENT_TEAMS, 35, 3
RESERVE_ASSESSMENT_TEAMS, 36, 3
RESERVE_ASSESSMENT_TEAMS, 37, 3 
RESERVE_ASSESSMENT_TEAMS, 38, 3 
RESERVE_ASSESSMENT_TEAMS, 39, 3
RESERVE_ASSESSMENT_TEAMS, 40, 3 
RESERVE_ASSESSMENT_TEAMS, 41, 3 
RESERVE_ASSESSMENT_TEAMS, 42, 3 
RESERVE_ASSESSMENT_TEAMS, 43, 3 
RESERVE_ASSESSMENT_TEAMS, 44, 3 
RESERVE_ASSESSMENT_TEAMS, 45, 3 
RESERVE_ASSESSMENT_TEAMS, 46, 3
RESERVE_ASSESSMENT_TEAMS, 47, 3 
RESERVE_ASSESSMENT_TEAMS, 48, 3 
RESERVE_ASSESSMENT_TEAMS, 49, 3
RESERVE_ASSESSMENT_TEAMS, 50, 3
RESERVE_ASSESSMENT_TEAMS, 51, 3
RESERVE_ASSESSMENT_TEAMS, 52, 2
RESERVE_ASSESSMENT_TEAMS, 53, 2
RESERVE_ASSESSMENT_TEAMS, 54, 1
RESERVE_ASSESSMENT_TEAMS, 55, 1
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 27
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 28
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 29
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 30
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 31
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 32
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 33
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 34
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 35
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 36
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 37
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 38
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 39
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 40
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 41
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 42
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 43
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 44
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 45
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 46
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 47
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 48
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 49
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 50
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 51
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 52
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 53
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 54
GET_EUROPEAN_ASSESSMENT_CUPWINNER, 55
FILL_ASSESSMENT_RESERVES
; --- Spares ---
RESERVE_ASSESSMENT_TEAMS, 54, 1
RESERVE_ASSESSMENT_TEAMS, 51, 1
RESERVE_ASSESSMENT_TEAMS, 33, 1
RESERVE_ASSESSMENT_TEAMS, 32, 1
RESERVE_ASSESSMENT_TEAMS, 31, 1
RESERVE_ASSESSMENT_TEAMS, 30, 1
RESERVE_ASSESSMENT_TEAMS, 29, 1
RESERVE_ASSESSMENT_TEAMS, 28, 1
RESERVE_ASSESSMENT_TEAMS, 27, 1
END_OF_ENTRY
%INDEXEND%EURO26
; -----------------------------------------
; 1.Quali EUROPA_LEAGUE
; -----------------------------------------
%INDEX%EURO27
DB_POOL
{ 249, UEFA_CUP, 1 }
1
100
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 249, UEFA_CUP, 0 }
{ 249, UEFA_CUP, 2 }
1
GET_POOL, { 249, UEFA_CUP, 0 }
58
100
%INDEXEND%EURO27
%INDEX%EURO28
DB_ROUND
{ 249, UEFA_CUP, 2 }
1er tour de qualification
100
ROUND_QUALI
; Spieltage
4
4
BEG_2ND_LEG
11
11
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
110000
0
0
90000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 1 }
{ 249, UEFA_CUP, 3 }
1 ; Instr
GET_POOL, { 249, UEFA_CUP, 1 }
0
100
%INDEXEND%EURO28
; -----------------------------------------
; 2.Quali Euro League
; -----------------------------------------
%INDEX%EURO29
DB_POOL
{ 249, UEFA_CUP, 3 }
1
66
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 249, UEFA_CUP, 2 }
{ 249, UEFA_CUP, 4 }
2 ; Instr
GET_WINNER, { 249, UEFA_CUP, 2 }
GET_POOL, { 249, UEFA_CUP, 0 }
42
16
%INDEXEND%EURO29
%INDEX%EURO30
DB_ROUND
{ 249, UEFA_CUP, 4 }
2ème tour de qualification
66
ROUND_QUALI
; Spieltage
18
18
BEG_2ND_LEG
25
25
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
120000
0
0
90000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 3 }
{ 249, UEFA_CUP, 5 }
1
GET_POOL, { 249, UEFA_CUP, 3 }
0
66
%INDEXEND%EURO30
;------------------------------------------------
; 3.Quali Euro League
;------------------------------------------------
%INDEX%EURO31
DB_ROUND
{ 249, UEFA_CUP, 5 }
3ème tour de qualification
58
ROUND_QUALI
; Spieltage
32
32
BEG_2ND_LEG
39
39
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
130000
0
0
90000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 4 }
{ 249, UEFA_CUP, 6 }
2 ; Instr
GET_WINNER, { 249, UEFA_CUP, 4 }
GET_POOL, { 249, UEFA_CUP, 0 }
17
25
%INDEXEND%EURO31
;-----------------------------------------------------
; 4.Quali Playoff
;------------------------------------------------------
%INDEX%EURO32
DB_ROUND
{ 249, UEFA_CUP, 6 }
Play-off
44
ROUND_QUALI
; Spieltage
46
46
BEG_2ND_LEG
53
53
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
140000
0
0
90000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 5 }
{ 249, UEFA_CUP, 7 }
3 ; Instr
GET_LOSER, { 249, CHAMPIONSLEAGUE, 5 }
GET_LOSER, { 249, CHAMPIONSLEAGUE, 8 }
GET_WINNER, { 249, UEFA_CUP, 5 }
%INDEXEND%EURO32
;------------------------------------------------
;Uefa Round Pool for sorting
;------------------------------------------------
%INDEX%EURO33
DB_POOL
{ 249, UEFA_CUP, 7 }
1			; ein Pool
48			; a 48 Teams
POOL_SORT_UEFA5_SHUFFLE
; wieviele und in welchen Wettbewerben darf der Club nicht stehen,
; um in diesen Pool aufgenommen zu werden?
0
; Geld
0
0
0
0
; Subst
0
0
; welche Vorgänger, Nachfolger
{ 249, UEFA_CUP, 6 }, { 249, CHAMPIONSLEAGUE, 6 }, { 249, CHAMPIONSLEAGUE, 9 }
{ 249, UEFA_CUP, 8 }, { 249, UEFA_CUP, 9 }, { 249, UEFA_CUP, 10 }, { 249, UEFA_CUP, 11 }, { 249, UEFA_CUP, 12 }, { 249, UEFA_CUP, 13 }, { 249, UEFA_CUP, 14 }, { 249, UEFA_CUP, 15 }, { 249, UEFA_CUP, 16 }, { 249, UEFA_CUP, 17 }, { 249, UEFA_CUP, 18 }, { 249, UEFA_CUP, 19 }
; wie setzt sich der Pool zusammen
4 ; Inst
GET_POOL, { 249, UEFA_CUP, 0 }
0
16
GET_LOSER, { 249, CHAMPIONSLEAGUE, 9 }
GET_LOSER, { 249, CHAMPIONSLEAGUE, 6 }
GET_WINNER, { 249, UEFA_CUP, 6 }
%INDEXEND%EURO33
;------------------------------------------------
; Group 1
;------------------------------------------------
%INDEX%EURO34
DB_LEAGUE
{ 249, UEFA_CUP, 8 }
_ID_GROUP_A
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
0
4
%INDEXEND%EURO34
;------------------------------------------------
; Group 2
;------------------------------------------------
%INDEX%EURO35
DB_LEAGUE
{ 249, UEFA_CUP, 9 }
_ID_GROUP_B
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
4
4
%INDEXEND%EURO35
;------------------------------------------------
; Group 3
;------------------------------------------------
%INDEX%EURO36
DB_LEAGUE
{ 249, UEFA_CUP, 10}
_ID_GROUP_C
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
8
4
%INDEXEND%EURO36
;------------------------------------------------
; Group 4
;------------------------------------------------
%INDEX%EURO37
DB_LEAGUE
{ 249, UEFA_CUP, 11 }
_ID_GROUP_D
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
12
4
%INDEXEND%EURO37
;------------------------------------------------
; Group 5
;------------------------------------------------
%INDEX%EURO38
DB_LEAGUE
{ 249, UEFA_CUP, 12 }
_ID_GROUP_E
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
16
4
%INDEXEND%EURO38
;------------------------------------------------
; Group 6
;------------------------------------------------
%INDEX%EURO39
DB_LEAGUE
{ 249, UEFA_CUP, 13 }
_ID_GROUP_F
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
20
4
%INDEXEND%EURO39
;------------------------------------------------
; Group 7
;------------------------------------------------
%INDEX%EURO40
DB_LEAGUE
{ 249, UEFA_CUP, 14 }
_ID_GROUP_G
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
24
4
%INDEXEND%EURO40
;------------------------------------------------
; Group 8
;------------------------------------------------
%INDEX%EURO41
DB_LEAGUE
{ 249, UEFA_CUP, 15 }
_ID_GROUP_H
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
28
4
%INDEXEND%EURO41
;------------------------------------------------
; Group 9
;------------------------------------------------
%INDEX%EURO42
DB_LEAGUE
{ 249, UEFA_CUP, 16 }
_ID_GROUP_I
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
32
4
%INDEXEND%EURO42
;------------------------------------------------
; Group 10
;------------------------------------------------
%INDEX%EURO43
DB_LEAGUE
{ 249, UEFA_CUP, 17 }
_ID_GROUP_J
4
0
0
8
2
ROUND_GROUP1
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
36
4
%INDEXEND%EURO43
;------------------------------------------------
; Group 11
;------------------------------------------------
%INDEX%EURO44
DB_LEAGUE
{ 249, UEFA_CUP, 18 }
Gr K
4
0
0
8
2
ROUND_GROUP2
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
40
4
%INDEXEND%EURO44
;------------------------------------------------
; Group 12
;------------------------------------------------
%INDEX%EURO45
DB_LEAGUE
{ 249, UEFA_CUP, 19 }
Gr L
4
0
0
8
2
ROUND_GROUP2
100
100
;
%INDEX%TEAMS
150001,150002,150003,150004,150005,150006
%INDEXEND%TEAMS
;
%INDEX%MATCHDAYS
74,88,109,123,144,158
%INDEXEND%MATCHDAYS
%INDEX%MATCHDAYS2
74,88,109,123,144,158
%INDEXEND%MATCHDAYS2
;
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
3,1,2,4
1,3,4,2
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
; Bonuses
416000
360000
120000
500000
;Transfer
7
1459569736
756
; subst
3
0
;
{ 249, UEFA_CUP, 7 }
{ 249, UEFA_CUP, 22 }
1
GET_POOL, { 249, UEFA_CUP, 7 }
44
4
%INDEXEND%EURO45
;---------------------------------
; Third placed CL
;---------------------------------
%INDEX%EURO46
DB_POOL
{ 249, UEFA_CUP, 21 }
1 ; 1 Liste
8 ; a 8 Einträge
0 ; Sort
; welche Pools abchecken
0
; Bonuses
0
0
0
0
; Subst
0
0
; Vorgänger
{ 249, CHAMPIONSLEAGUE, 15 }
{ 249, UEFA_CUP, 22 } 
8
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 16 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 17 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 18 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 11 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 12 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 13 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 14 }
3
1
GET_TAB_X_TO_Y, { 249, CHAMPIONSLEAGUE, 15 }
3
1
%INDEXEND%EURO46
%INDEX%EURO47
DB_POOL
{ 249, UEFA_CUP, 22 }
; 24 teams from group stage
; and 8 teams from championsleague group stage
1	; one Pool
32	; with 32 Teams
POOL_SORT_RANDOM	; no sorting
; wieviele und in welchen Wettbewerben darf der Club nicht stehen,
; um in diesen Pool aufgenommen zu werden?
0
; Geld
0
0
0
0
; Subst
0
0
; welche Vorgänger, Nachfolger
{ 249, UEFA_CUP, 8 }, { 249, UEFA_CUP, 9 }, { 249, UEFA_CUP, 10 }, { 249, UEFA_CUP, 11 }, { 249, UEFA_CUP, 12 }, { 249, UEFA_CUP, 13 }, { 249, UEFA_CUP, 14 }, { 249, UEFA_CUP, 15 }, { 249, UEFA_CUP, 16 }, { 249, UEFA_CUP, 17 }, { 249, UEFA_CUP, 18 }, { 249, UEFA_CUP, 19 }{ 249, UEFA_CUP, 21 }
{ 249, UEFA_CUP, 23 }
; wie setzt sich der Pool zusammen
13
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 8 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 9 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 10 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 11 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 12 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 13 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 14 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 15 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 16 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 17 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 18 }
1
2
GET_TAB_X_TO_Y, { 249, UEFA_CUP, 19 }
1
2
GET_POOL, { 249, UEFA_CUP, 21 }
0
8
%INDEXEND%EURO47
;------------------------------------------------
; Euro Trophy - Round 3
;------------------------------------------------
%INDEX%EURO48
DB_ROUND
{ 249, UEFA_CUP, 23 }
1/16èmes de finale
32
ROUND_4
; Spieltage
228
228
BEG_2ND_LEG
235
235
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
500000
0
0
250000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 22 }
{ 249, UEFA_CUP, 24 }
1
GET_POOL, { 249, UEFA_CUP, 22 }
0
32
%INDEXEND%EURO48
;------------------------------------------------
; Euro Trophy - Last 16
;------------------------------------------------
%INDEX%EURO49
DB_ROUND
{ 249, UEFA_CUP, 24 }
_ID_LAST_16
16
ROUND_LAST_16
; Spieltage
249
249
BEG_2ND_LEG
256
256
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
750000
0
0
400000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 23 }
{ 249, UEFA_CUP, 25 }
1
GET_WINNER, { 249, UEFA_CUP, 23 }
%INDEXEND%EURO49
;------------------------------------------------
; Euro Trophy - Quarter Final
;------------------------------------------------
%INDEX%EURO50
DB_ROUND
{ 249, UEFA_CUP, 25 }
_ID_QUARTERFINAL
8
ROUND_QUARTERFINAL
; Spieltage
284
277
BEG_2ND_LEG
291
284
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
1000000
0
0
500000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 24 }
{ 249, UEFA_CUP, 26 }
1
GET_WINNER, { 249, UEFA_CUP, 24 }
%INDEXEND%EURO50
;------------------------------------------------
; Euro Trophy - Half Final
;------------------------------------------------
%INDEX%EURO51
DB_ROUND
{ 249, UEFA_CUP, 26 }
_ID_SEMIFINAL
4
ROUND_SEMIFINAL
; Spieltage
305
298
BEG_2ND_LEG
312
305
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY
; Bonuses
1500000
0
0
750000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 25 }
{ 249, UEFA_CUP, 27 }
1
GET_WINNER, { 249, UEFA_CUP, 25 }
%INDEXEND%EURO51
;------------------------------------------------
; Euro Trophy - Final
;------------------------------------------------
%INDEX%EURO52
DB_ROUND
{ 249, UEFA_CUP, 27 }
_ID_FINAL
2
ROUND_FINAL
; Spieltage
318
325
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
3500000
2500000
0
1750000
; Num Subs
3
0
; Vorgänger
{ 249, UEFA_CUP, 26 }
-1
1
GET_WINNER, { 249, UEFA_CUP, 26 }
%INDEXEND%EURO52
;
; -----------------------------------------------------------------------------
; - Special club competitions - they are here even they affect the complete world
; -----------------------------------------------------------------------------
;
; -----------------------------------------------------------------------------
; European Super cup
; -----------------------------------------------------------------------------
%INDEX%EURO60
DB_ROUND
{ 249, EURO_SUPERCUP, 0 }
_ID_FINAL
2
ROUND_FINAL
; Matchdays
37
37
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
0
1000000
0
3000000
; Num Subs
3
0
; Predeccessor
0
; Successors
0
2
GET_CHAMP, { 249, CHAMPIONSLEAGUE, 23 }
GET_CHAMP, { 249, UEFA_CUP, 27 }
%INDEXEND%EURO60
;------------------------------------------------
; World Club Cup - Pool
; -----------------------------------------------
%INDEX%EURO61
DB_POOL
{ 249, WORLD_CLUB_CHAMP, 0 }
1
6
0
; Exclude competitions
0
; Bonuses
0
0
0
0
; Subst
3
0
; Predeccessor / Success
0
{ 249, WORLD_CLUB_CHAMP, 1 }
; Script commands
6
GET_CHAMP, { 249, CHAMPIONSLEAGUE, 23 }
GET_CHAMP, { 250, CHAMPIONSLEAGUE, 22 }
GET_CHAMP, { 251, CHAMPIONSLEAGUE, 22 }
GET_CHAMP, { 252, CHAMPIONSLEAGUE, 22 }
GET_CHAMP, { 253, CHAMPIONSLEAGUE, 23 }
GET_CHAMP, { 254, CHAMPIONSLEAGUE, 22 }
%INDEXEND%EURO61
; ------------------------------------------
; World Club Cup - First Round
; ------------------------------------------
%INDEX%EURO62
DB_ROUND
{ 249, WORLD_CLUB_CHAMP, 1 }
Quarts de finale
4
ROUND_QUALI
; Matchdays
161
161
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
433000
0
0
0
; Num Subs
3
0
; Vorgänger
{ 249, WORLD_CLUB_CHAMP, 0 }
{ 249, WORLD_CLUB_CHAMP, 2 },{ 249, WORLD_CLUB_CHAMP, 3 }
1
GET_POOL, { 249, WORLD_CLUB_CHAMP, 0 }
2
4
%INDEXEND%EURO62
; ------------------------------------------
; World Club Cup - Loser Round
; ------------------------------------------
%INDEX%EURO63
DB_ROUND
{ 249, WORLD_CLUB_CHAMP, 2 }
Match pour la 5ème place
2
ROUND_QUALI
; Matchdays
164
164
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
433000
433000
0
0
; Num Subs
3
0
; Vorgänger
{ 249, WORLD_CLUB_CHAMP, 1 }
0
1
GET_LOSER, { 249, WORLD_CLUB_CHAMP, 1 }
%INDEXEND%EURO63
; ------------------------------------------
; World Club Cup - Second round
; ------------------------------------------
%INDEX%EURO64
DB_ROUND
{ 249, WORLD_CLUB_CHAMP, 3 }
_ID_SEMIFINAL
4
ROUND_SEMIFINAL
; Matchdays
164
164
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
433000
0
0
0
; Num Subs
3
0
; Predeccessor / Successor
{ 249, WORLD_CLUB_CHAMP, 1 }
{ 249, WORLD_CLUB_CHAMP, 4 }, { 249, WORLD_CLUB_CHAMP, 5 }
2
GET_POOL, { 249, WORLD_CLUB_CHAMP, 0 }
0
2
GET_WINNER, { 249, WORLD_CLUB_CHAMP, 1 }
%INDEXEND%EURO64
; ------------------------------------------
; World Club Cup - Loser Round
; ------------------------------------------
%INDEX%EURO65
DB_ROUND
{ 249, WORLD_CLUB_CHAMP, 4 }
_ID_3RD_PLACE
2
ROUND_3RD_PLACE
; Matchdays
168
168
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
866000
433000
0
0
; Num Subs
3
0
; Vorgänger
{ 249, WORLD_CLUB_CHAMP, 3 }
0
1
GET_LOSER, { 249, WORLD_CLUB_CHAMP, 3 }
%INDEXEND%EURO65
; ------------------------------------------
; World Club Cup - Final
; ------------------------------------------
%INDEX%EURO66
DB_ROUND
{ 249, WORLD_CLUB_CHAMP, 5 }
_ID_FINAL
2
ROUND_FINAL
; Matchdays
168
168
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
; Bonuses
2598000
866000
0
0
; Num Subs
3
0
; Vorgänger
{ 249, WORLD_CLUB_CHAMP, 3 }
0
1
GET_WINNER, { 249, WORLD_CLUB_CHAMP, 3 }
%INDEXEND%EURO66
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * UEFA Champions League (CHAMPIONSLEAGUE) ----------------------------------------------------------------------------------------------------------------------
; * Europa League (UEFA_CUP) ------------------------------------------------------------------------------------------------------------------------------------------
; * UEFA Super Cup (EURO_SUPERCUP) ---------------------------------------------------------------------------------------------------------------------------
; * World Club Champs Cup (WORLD_CLUB_CHAMP)---------------------------------------------------------------------
;  Script By Horhgh
;----------------------------------------------------------------------------------------------------------------------------------------------------------------