100
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * CAF Champions League (CHAMPIONSLEAGUE)-----------------------------------------------------------------------------------------------------------------------
; * Coupe de la confédération (UEFA_CUP)-------------------------------------------------------------------------------------------------------------------------
; * Supercoupe d'Afrique (EURO_SUPERCUP)-------------------------------------------------------------------------------------------------------------------------
;  Script By Horhgh
;  28.05.2017
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
;
;
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * CAF Champions League ----------------------------------------------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
%INDEX%INTAFRICA0
DB_POOL
{ 252, CHAMPIONSLEAGUE, 0 }
1
56
0
0
0
0
0
0
3
0
0	
{ 252, CHAMPIONSLEAGUE, 1 }
60
; Pays avec 1 représentant (32 teams - offset 0-31)
GET_INTERNATIONAL_TEAMS, 98, 1 ; Angola
GET_INTERNATIONAL_TEAMS, 123, 1 ; Lybie**
GET_INTERNATIONAL_TEAMS, 117, 1 ; Ghana
GET_INTERNATIONAL_TEAMS, 103, 1 ; Cameroun
GET_INTERNATIONAL_TEAMS, 114, 1 ; Ethiopie**
GET_INTERNATIONAL_TEAMS, 132, 1 ; Niger**
GET_INTERNATIONAL_TEAMS, 148, 1 ; Zimbabwe**
GET_INTERNATIONAL_TEAMS, 100, 1 ; Botswana**
GET_INTERNATIONAL_TEAMS, 112, 1 ; Guinée equatoriale**
GET_INTERNATIONAL_TEAMS, 99, 1 ; Bénin**
GET_INTERNATIONAL_TEAMS, 101, 1 ; Burkina faso**
GET_INTERNATIONAL_TEAMS, 102, 1 ; Burundi**
GET_INTERNATIONAL_TEAMS, 105, 1 ; Rép. Centrafricaine**
GET_INTERNATIONAL_TEAMS, 106, 1 ; Tchad**
GET_INTERNATIONAL_TEAMS, 115, 1 ; Gabon**
GET_INTERNATIONAL_TEAMS, 116, 1 ; Gambie**
GET_INTERNATIONAL_TEAMS, 118, 1 ; Guinée**
GET_INTERNATIONAL_TEAMS, 120, 1 ; Kenya**
GET_INTERNATIONAL_TEAMS, 121, 1 ; Lesotho**
GET_INTERNATIONAL_TEAMS, 122, 1 ; Liberia**
GET_INTERNATIONAL_TEAMS, 124, 1 ; Madagascar**
GET_INTERNATIONAL_TEAMS, 127, 1 ; Mauritanie**
GET_INTERNATIONAL_TEAMS, 130, 1 ; Mozambique**
GET_INTERNATIONAL_TEAMS, 131, 1 ; Namibie**
GET_INTERNATIONAL_TEAMS, 134, 1 ; Rwanda**
GET_INTERNATIONAL_TEAMS, 135, 1 ; Sao-Tomé**
GET_INTERNATIONAL_TEAMS, 136, 1 ; Sénégal**
GET_INTERNATIONAL_TEAMS, 137, 1 ; Seychelles**
GET_INTERNATIONAL_TEAMS, 138, 1 ; Sierra Leone**
GET_INTERNATIONAL_TEAMS, 142, 1 ; Swaziland**
GET_INTERNATIONAL_TEAMS, 143, 1 ; Tanzanie**
GET_INTERNATIONAL_TEAMS, 146, 1 ; Ouganda**
; Pays avec 2 représentants (24 teams - offset 32-55)
GET_CHAMP, {145, LEAGUE, 0}
GET_INTERNATIONAL_TEAMS, 145, 1 ; Tunisie 0 (32-33 exempt)
GET_INTERNATIONAL_TEAMS, 111, 2 ; Egypte 2 (34-35 exempt)
GET_INTERNATIONAL_TEAMS, 97, 2 ; Algérie 6 (36 exemp)
GET_INTERNATIONAL_TEAMS, 141, 2 ; Soudan 8 (38 exempt)
GET_INTERNATIONAL_TEAMS, 108, 2 ; Cote d'Ivoire 10
GET_INTERNATIONAL_TEAMS, 129, 2 ; Maroc 12
GET_INTERNATIONAL_TEAMS, 107, 2 ; Congo 16
GET_INTERNATIONAL_TEAMS, 126, 2 ; Mali 18
GET_INTERNATIONAL_TEAMS, 133, 2 ; Nigeria 20
GET_INTERNATIONAL_TEAMS, 140, 2 ; Afrique du sud 22-23 (50 exempt)
GET_INTERNATIONAL_TEAMS, 147, 2 ; Zambie
GET_CHAMP, {110, LEAGUE, 0}
GET_INTERNATIONAL_TEAMS, 110, 1 ; RD Congo 4 (54 exempt)
GET_CHAMP, {110, LEAGUE, 2}
GET_CHAMP, {110, LEAGUE, 1}
END_OF_ENTRY
%INDEXEND%INTAFRICA0
%INDEX%INTAFRICA1
DB_POOL
{ 252, CHAMPIONSLEAGUE, 1 }
1
48
POOL_SORT_RANDOM
0
0
0
0
0
0
0
0
{ 252, CHAMPIONSLEAGUE, 2 }
5
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
0
32
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
37
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
39
11
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
51
3
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
55
1
%INDEXEND%INTAFRICA1
%INDEX%INTAFRICA2
DB_ROUND
{ 252, CHAMPIONSLEAGUE, 2 }
Preliminary round
48
ROUND_QUALI
7
7
BEG_2ND_LEG
21
21
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
7500
0
0
5000
3
0
{ 252, CHAMPIONSLEAGUE, 1 }	
{ 252, CHAMPIONSLEAGUE, 3 }
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 1 }
0
48
%INDEXEND%INTAFRICA2
%INDEX%INTAFRICA3
DB_POOL
{ 252, CHAMPIONSLEAGUE, 3 }
1
32
POOL_SORT_RANDOM
0
0
0
0
0
0
0
0
{ 252, CHAMPIONSLEAGUE, 4 }
5
GET_WINNER, { 252, CHAMPIONSLEAGUE, 2 }
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
32
5
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
38
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
50
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 0 }
54
1
%INDEXEND%INTAFRICA3
%INDEX%INTAFRICA4
DB_ROUND
{ 252, CHAMPIONSLEAGUE, 4 }
Tour 1
32
ROUND_1
35
35
BEG_2ND_LEG
49
49
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
10000
0
0
7000
3
0
{ 252, CHAMPIONSLEAGUE, 3 }
{ 252, CHAMPIONSLEAGUE, 6 },{ 252, UEFA_CUP, 6 }
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 3 }
0
32
%INDEXEND%INTAFRICA4
%INDEX%INTAFRICA6
DB_POOL
{ 252, CHAMPIONSLEAGUE, 6 }
1
16
POOL_SORT_RANDOM
0
0
0
0
0
3
0
{ 252, CHAMPIONSLEAGUE, 4 }
{ 252, CHAMPIONSLEAGUE, 7 },{ 252, CHAMPIONSLEAGUE, 8 },{ 252, CHAMPIONSLEAGUE, 9 },{ 252, CHAMPIONSLEAGUE, 10 }
1
GET_WINNER, { 252, CHAMPIONSLEAGUE, 4 }
%INDEXEND%INTAFRICA6
%INDEX%INTAFRICA7
DB_LEAGUE
{ 252, CHAMPIONSLEAGUE, 7 }
Groupe A
4
0
0
8
2
ROUND_GROUP1
100 
100
%INDEX%TEAMS
150001,150002,150003,150004
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
73,87,115,122,143,150
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
73,87,115,122,143,150
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
42500
20000
10000
100000
7
1459569736
756
3
0
{ 252, CHAMPIONSLEAGUE, 6 }
{ 252, CHAMPIONSLEAGUE, 11 }
4
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
0
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
6
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
9
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
15
1
%INDEXEND%INTAFRICA7
%INDEX%INTAFRICA8
DB_LEAGUE
{ 252, CHAMPIONSLEAGUE, 8 }
Groupe B
4
0
0
8
2
ROUND_GROUP1
100 
100
%INDEX%TEAMS
150001,150002,150003,150004
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
73,87,115,122,143,150
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
73,87,115,122,143,150
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
42500
20000
10000
100000
7
1459569736
756
3
0
{ 252, CHAMPIONSLEAGUE, 6 }
{ 252, CHAMPIONSLEAGUE, 11 }
4
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
2
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
7
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
8
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
13
1
%INDEXEND%INTAFRICA8
%INDEX%INTAFRICA9
DB_LEAGUE
{ 252, CHAMPIONSLEAGUE, 9 }
Groupe C
4
0
0
8
2
ROUND_GROUP1
100 
100
%INDEX%TEAMS
150001,150002,150003,150004
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
73,87,115,122,143,150
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
73,87,115,122,143,150
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
42500
20000
10000
100000
7
1459569736
756
3
0
{ 252, CHAMPIONSLEAGUE, 6 }
{ 252, CHAMPIONSLEAGUE, 11 }
4
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
3
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
4
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
11
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
12
1
%INDEXEND%INTAFRICA9
%INDEX%INTAFRICA10
DB_LEAGUE
{ 252, CHAMPIONSLEAGUE, 10 }
Groupe D
4
0
0
8
2
ROUND_GROUP1
100 
100
%INDEX%TEAMS
150001,150002,150003,150004
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
73,87,115,122,143,150
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
73,87,115,122,143,150
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
42500
20000
10000
100000
7
1459569736
756
3
0
{ 252, CHAMPIONSLEAGUE, 6 }
{ 252, CHAMPIONSLEAGUE, 11 }
4
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
1
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
5
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
10
1
GET_POOL, { 252, CHAMPIONSLEAGUE, 6 }
14
1
%INDEXEND%INTAFRICA10
%INDEX%INTAFRICA11
DB_ROUND
{ 252, CHAMPIONSLEAGUE, 11 }
1/4 finale
8
ROUND_QUARTERFINAL
241
241
BEG_2ND_LEG
248
248
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
150000
0
0
100000
3
0
{ 252, CHAMPIONSLEAGUE, 7 },{ 252, CHAMPIONSLEAGUE, 8 },{ 252, CHAMPIONSLEAGUE, 9 },{ 252, CHAMPIONSLEAGUE, 10 }
{ 252, CHAMPIONSLEAGUE, 21 }
8
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 9}
2
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 7}
2
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 10}
2
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 8}
2
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 7}
1
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 9}
1
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 8}
1
1
GET_TAB_X_TO_Y, {252, CHAMPIONSLEAGUE, 10}
1
1
%INDEXEND%INTAFRICA11
%INDEX%INTAFRICA12
DB_ROUND
{ 252, CHAMPIONSLEAGUE, 21 }
1/2 Finale
4
ROUND_SEMIFINAL
255
255
BEG_2ND_LEG
276
276
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
380000
0
0
250000
3
0
{ 252, CHAMPIONSLEAGUE, 11 }
{ 252, CHAMPIONSLEAGUE, 22 }
1
GET_WINNER, { 252, CHAMPIONSLEAGUE, 11 }
%INDEXEND%INTAFRICA12
%INDEX%INTAFRICA13
DB_ROUND
{ 252, CHAMPIONSLEAGUE, 22 }
Finale
2
ROUND_FINAL
290
290
BEG_2ND_LEG
304
304
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
450000
450000
0
450000
3
0
{ 252, CHAMPIONSLEAGUE, 21 }
0
1
GET_WINNER, { 252, CHAMPIONSLEAGUE, 21 }
%INDEXEND%INTAFRICA13
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * Coupe de la confédération ------------------------------------------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
%INDEX%INTAFRICA14
DB_POOL
{ 252, UEFA_CUP, 0 }
1
55
0 
1
{ 252, CHAMPIONSLEAGUE, 0 }
0
0
0
0
3
0
0	
{ 252, UEFA_CUP, 1 }
65
; Pays avec 1 représentant (31 teams - offset 0-30)
GET_INTERNATIONAL_TEAMS, 98, 1 ; Angola
GET_INTERNATIONAL_TEAMS, 123, 1 ; Lybie**
GET_INTERNATIONAL_TEAMS, 117, 1 ; Ghana
GET_INTERNATIONAL_TEAMS, 103, 1 ; Cameroun
GET_INTERNATIONAL_TEAMS, 114, 1 ; Ethiopie**
GET_INTERNATIONAL_TEAMS, 132, 1 ; Niger**
GET_INTERNATIONAL_TEAMS, 148, 1 ; Zimbabwe**
GET_INTERNATIONAL_TEAMS, 100, 1 ; Botswana**
GET_INTERNATIONAL_TEAMS, 112, 1 ; Guinée equatoriale**
GET_INTERNATIONAL_TEAMS, 99, 1 ; Bénin**
GET_INTERNATIONAL_TEAMS, 101, 1 ; Burkina faso**
GET_INTERNATIONAL_TEAMS, 102, 1 ; Burundi**
GET_INTERNATIONAL_TEAMS, 106, 1 ; Tchad**
GET_INTERNATIONAL_TEAMS, 115, 1 ; Gabon**
GET_INTERNATIONAL_TEAMS, 116, 1 ; Gambie**
GET_INTERNATIONAL_TEAMS, 118, 1 ; Guinée**
GET_INTERNATIONAL_TEAMS, 120, 1 ; Kenya**
GET_INTERNATIONAL_TEAMS, 121, 1 ; Lesotho**
GET_INTERNATIONAL_TEAMS, 122, 1 ; Liberia**
GET_INTERNATIONAL_TEAMS, 124, 1 ; Madagascar**
GET_INTERNATIONAL_TEAMS, 127, 1 ; Mauritanie**
GET_INTERNATIONAL_TEAMS, 130, 1 ; Mozambique**
GET_INTERNATIONAL_TEAMS, 131, 1 ; Namibie**
GET_INTERNATIONAL_TEAMS, 134, 1 ; Rwanda**
GET_INTERNATIONAL_TEAMS, 135, 1 ; Sao-Tomé**
GET_INTERNATIONAL_TEAMS, 136, 1 ; Sénégal**
GET_INTERNATIONAL_TEAMS, 137, 1 ; Seychelles**
GET_INTERNATIONAL_TEAMS, 138, 1 ; Sierra Leone**
GET_INTERNATIONAL_TEAMS, 142, 1 ; Swaziland**
GET_INTERNATIONAL_TEAMS, 143, 1 ; Tanzanie**
GET_INTERNATIONAL_TEAMS, 146, 1 ; Ouganda**
; Pays avec 2 représentants (24 teams - offset 31-54)
GET_INTERNATIONAL_TEAMS, 145, 1 ; Tunisie 31 (31-32 exempts)
GET_CHAMP_OR_RUNNER_UP, {145, FA_CUP, 0}
GET_INTERNATIONAL_TEAMS, 111, 1 ; Egypte 33 (33 exempt)
GET_CHAMP_OR_RUNNER_UP, {111, FA_CUP, 0}
GET_INTERNATIONAL_TEAMS, 97, 1 ; Algérie 35 (35 exempt)
GET_CHAMP_OR_RUNNER_UP, {97, FA_CUP, 0}
GET_INTERNATIONAL_TEAMS, 141, 2 ; Soudan 37 (37 exempt)
GET_INTERNATIONAL_TEAMS, 108, 2 ; Cote d'Ivoire 39 (39 exempt)
GET_INTERNATIONAL_TEAMS, 129, 1 ; Maroc 41
GET_CHAMP_OR_RUNNER_UP, {129, FA_CUP, 0}
GET_INTERNATIONAL_TEAMS, 147, 2 ; Zambie
GET_INTERNATIONAL_TEAMS, 107, 2 ; Congo 45
GET_INTERNATIONAL_TEAMS, 126, 2 ; Mali 47 (47-48 exempts)
GET_INTERNATIONAL_TEAMS, 133, 2 ; Nigeria 49
GET_INTERNATIONAL_TEAMS, 140, 1 ; Afrique du sud 51
GET_CHAMP_OR_RUNNER_UP, {140, FA_CUP, 0}
GET_CHAMP_OR_RUNNER_UP, {110, FA_CUP, 0}
GET_INTERNATIONAL_TEAMS, 110, 1 ; RD Congo 53 (53 exempt)
END_OF_ENTRY	
%INDEXEND%INTAFRICA14
%INDEX%INTAFRICA15
DB_POOL
{ 252, UEFA_CUP, 1 }
1
46
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 252, UEFA_CUP, 0 }
{ 252, UEFA_CUP, 2 }
7
GET_POOL, { 252, UEFA_CUP, 0 }
0
31
GET_POOL, { 252, UEFA_CUP, 0 }
34
1
GET_POOL, { 252, UEFA_CUP, 0 }
36
1
GET_POOL, { 252, UEFA_CUP, 0 }
38
1
GET_POOL, { 252, UEFA_CUP, 0 }
40
7
GET_POOL, { 252, UEFA_CUP, 0 }
49
4
GET_POOL, { 252, UEFA_CUP, 0 }
54
1
%INDEXEND%INTAFRICA15
%INDEX%INTAFRICA16
DB_ROUND
{ 252, UEFA_CUP, 2 }
Preliminary round
46
ROUND_QUALI
7
7
BEG_2ND_LEG
21
21
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
4000
0
0
1500
3
0
{ 252, UEFA_CUP, 1 }	
{ 252, UEFA_CUP, 5 }
1
GET_POOL, { 252, UEFA_CUP, 1 }
0
46
%INDEXEND%INTAFRICA16
%INDEX%INTAFRICA17
DB_ROUND
{ 252, UEFA_CUP, 5 }
Tour 1
32
ROUND_1
35
35
BEG_2ND_LEG
49
49
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
6000
0
0
4000
3
0
{ 252, UEFA_CUP, 2 }
{ 252, UEFA_CUP, 7 }
7
GET_WINNER, { 252, UEFA_CUP, 2 }
GET_POOL, { 252, UEFA_CUP, 0 }
31
3
GET_POOL, { 252, UEFA_CUP, 0 }
35
1
GET_POOL, { 252, UEFA_CUP, 0 }
37
1
GET_POOL, { 252, UEFA_CUP, 0 }
39
1
GET_POOL, { 252, UEFA_CUP, 0 }
47
2
GET_POOL, { 252, UEFA_CUP, 0 }
53
1
%INDEXEND%INTAFRICA17
;---------------------------------
; Losers CAF Champions League First round
;---------------------------------
%INDEX%INTAFRICA18
DB_POOL
{ 252, UEFA_CUP, 6 }
1
16
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 252, CHAMPIONSLEAGUE, 4 }
{ 252, UEFA_CUP, 8 }
1
GET_LOSER, { 252, CHAMPIONSLEAGUE, 4 }
%INDEXEND%INTAFRICA18
;---------------------------------
; Winners CAF Confed Cup First round
;---------------------------------
%INDEX%INTAFRICA19
DB_POOL
{ 252, UEFA_CUP, 7 }
1
16
POOL_SORT_RANDOM
0
0
0
0
0
0
0
{ 252, UEFA_CUP, 5 }
{ 252, UEFA_CUP, 8 }
1
GET_WINNER, { 252, UEFA_CUP, 5 }
%INDEXEND%INTAFRICA19
;---------------------------------
; POOL Play-off
;---------------------------------
%INDEX%INTAFRICA20
DB_POOL
{ 252, UEFA_CUP, 8 }
1
32
0
0
0
0
0
0
0
0
{ 252, UEFA_CUP, 7 },{ 252, UEFA_CUP, 6 }
{ 252, UEFA_CUP, 9 }
2
GET_POOL, { 252, UEFA_CUP, 7 }
0
16
GET_POOL, { 252, UEFA_CUP, 6 }
0
16
%INDEXEND%INTAFRICA20
%INDEX%INTAFRICA21
DB_ROUND
{ 252, UEFA_CUP, 9 }
Play-off
32
ROUND_2
73
73
BEG_2ND_LEG
87
87
BEG_2ND_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
8000
0
0
5000
3
0
{ 252, UEFA_CUP, 8 }	
{ 252, UEFA_CUP, 10 }
1
GET_POOL, { 252, UEFA_CUP, 8 }
0
32
%INDEXEND%INTAFRICA21
%INDEX%INTAFRICA22
DB_POOL
{ 252, UEFA_CUP, 10 }
1
16
POOL_SORT_RANDOM
0
0
0
0
0
3
0
{ 252, UEFA_CUP, 9 }
{ 252, UEFA_CUP, 11 },{ 252, UEFA_CUP, 12 },{ 252, UEFA_CUP, 13 },{ 252, UEFA_CUP, 14 }
1
GET_WINNER, { 252, UEFA_CUP, 9 }
%INDEXEND%INTAFRICA22
%INDEX%INTAFRICA23
DB_LEAGUE
{ 252, UEFA_CUP, 11 }
_ID_GROUP_A
4
0
0
8
2
ROUND_GROUP1
100
100 
%INDEX%TEAMS
1,2,3,4
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
115,122,143,150,241,248
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
115,122,143,150,241,248
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
20000
10000
5000
40000
7
1459569736
756
3
0
{ 252, UEFA_CUP, 10 }
{ 252, UEFA_CUP, 15 }
4
GET_POOL, { 252, UEFA_CUP, 10 }
0
1
GET_POOL, { 252, UEFA_CUP, 10 }
6
1
GET_POOL, { 252, UEFA_CUP, 10 }
9
1
GET_POOL, { 252, UEFA_CUP, 10 }
15
1
%INDEXEND%INTAFRICA23
%INDEX%INTAFRICA24
DB_LEAGUE
{ 252, UEFA_CUP, 12 }
_ID_GROUP_B
4
0
0
8
2
ROUND_GROUP1
100
100
%INDEX%TEAMS
1,2,3,4
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
115,122,143,150,241,248
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
115,122,143,150,241,248
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
20000
10000
5000
40000
7
1459569736
756
3
0
{ 252, UEFA_CUP, 10 }
{ 252, UEFA_CUP, 15 }
4
GET_POOL, { 252, UEFA_CUP, 10 }
2
1
GET_POOL, { 252, UEFA_CUP, 10 }
7
1
GET_POOL, { 252, UEFA_CUP, 10 }
8
1
GET_POOL, { 252, UEFA_CUP, 10 }
13
1
%INDEXEND%INTAFRICA24
%INDEX%INTAFRICA25
DB_LEAGUE
{ 252, UEFA_CUP, 13 }
_ID_GROUP_C
4
0
0
8
2
ROUND_GROUP1
100
100 
%INDEX%TEAMS
1,2,3,4
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
115,122,143,150,241,248
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
115,122,143,150,241,248
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
20000
10000
5000
40000
7
1459569736
756
3
0
{ 252, UEFA_CUP, 10 }
{ 252, UEFA_CUP, 15 }
4
GET_POOL, { 252, UEFA_CUP, 10 }
3
1
GET_POOL, { 252, UEFA_CUP, 10 }
4
1
GET_POOL, { 252, UEFA_CUP, 10 }
11
1
GET_POOL, { 252, UEFA_CUP, 10 }
12
1
%INDEXEND%INTAFRICA25
%INDEX%INTAFRICA26
DB_LEAGUE
{ 252, UEFA_CUP, 14 }
_ID_GROUP_D
4
0
0
8
2
ROUND_GROUP1
100
100
%INDEX%TEAMS
1,2,3,4
%INDEXEND%TEAMS
%INDEX%MATCHDAYS
115,122,143,150,241,248
%INDEXEND%MATCHDAYS
;
%INDEX%MATCHDAYS2
115,122,143,150,241,248
%INDEXEND%MATCHDAYS2
%INDEX%FIXTURE
1,2,3,4
2,3,4,1
1,3,4,2
3,1,2,4
3,2,1,4
2,1,4,3
%INDEXEND%FIXTURE
20000
10000
5000
40000
7
1459569736
756
3
0
{ 252, UEFA_CUP, 10 }
{ 252, UEFA_CUP, 15 }
4
GET_POOL, { 252, UEFA_CUP, 10 }
1
1
GET_POOL, { 252, UEFA_CUP, 10 }
5
1
GET_POOL, { 252, UEFA_CUP, 10 }
10
1
GET_POOL, { 252, UEFA_CUP, 10 }
14
1
%INDEXEND%INTAFRICA26
%INDEX%INTAFRICA27
DB_ROUND
{ 252, UEFA_CUP, 15 }
_ID_QUARTERFINAL
8
ROUND_QUARTERFINAL
255
255
BEG_2ND_LEG
276
276
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
40000
0
0
46000
3
0
{ 252, UEFA_CUP, 11 },{ 252, UEFA_CUP, 12 },{ 252, UEFA_CUP, 13 },{ 252, UEFA_CUP, 14 }
{ 252, UEFA_CUP, 16 }
8
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 13 }
2
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 11 }
2
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 14 }
2
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 12 }
2
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 11 }
1
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 13 }
1
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 12 }
1
1
GET_TAB_X_TO_Y, { 252, UEFA_CUP, 14 }
1
1
%INDEXEND%INTAFRICA27
%INDEX%INTAFRICA28
DB_ROUND
{ 252, UEFA_CUP, 16 }
_ID_SEMIFINAL
4
ROUND_SEMIFINAL
290
290
BEG_2ND_LEG
297
297
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
100000
0
0
116000
3
0
{ 252, UEFA_CUP, 15 }
{ 252, UEFA_CUP, 20 }
1
GET_WINNER, { 252, UEFA_CUP, 15 }
%INDEXEND%INTAFRICA28
%INDEX%INTAFRICA29
DB_ROUND
{ 252, UEFA_CUP, 20 }
_ID_FINAL
2
ROUND_FINAL
304
304
BEG_2ND_LEG
311
311
BEG_2ND_LEG, BEG_WITH_PENALTY, BEG_END
270000
175000
0
120000
3
0
{ 252, UEFA_CUP, 16 }
0
1
GET_WINNER, { 252, UEFA_CUP, 16 }
%INDEXEND%INTAFRICA29
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * Supercoupe d'Afrique ----------------------------------------------------------------------------------------------------------------------------------------
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
%INDEX%INTAFRICA30
DB_ROUND
{ 252, EURO_SUPERCUP, 0 }
Total CAF Super Cup
2
ROUND_FINAL
231
231
BEG_1ST_LEG, BEG_WITH_EXTRA_TIME, BEG_WITH_PENALTY, BEG_END
0
0
0
60000
40000
0
100000
3
0
0
0
3
GET_CHAMP, { 252, CHAMPIONSLEAGUE, 22 }
GET_CHAMP, { 252, UEFA_CUP, 20 }
GET_LOSER, { 252, CHAMPIONSLEAGUE, 22 }
%INDEXEND%INTAFRICA30
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
; * CAF Champions League (CHAMPIONSLEAGUE)-----------------------------------------------------------------------------------------------------------------------
; * Coupe de la confédération (UEFA_CUP)-------------------------------------------------------------------------------------------------------------------------
; * Supercoupe d'Afrique (EURO_SUPERCUP)-------------------------------------------------------------------------------------------------------------------------
;  Script By Horhgh
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
