Loop Parse Log if A_Index LastBattleIndex continue IfInString A_LoopFi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Loop, Parse, Log, `n
{
if(A_Index < LastBattleIndex)
continue
IfInString, A_LoopField, player 0
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out0_)
}
IfInString, A_LoopField, player 1
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out1_)
}
IfInString, A_LoopField, player 2
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out2_)
}
IfInString, A_LoopField, player 3
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out3_)
}
IfInString, A_LoopField, player 4
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out4_)
}
IfInString, A_LoopField, player 5
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out5_)
}
IfInString, A_LoopField, player 6
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out6_)
}
IfInString, A_LoopField, player 7
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out7_)
}
IfInString, A_LoopField, player 8
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out8_)
}
IfInString, A_LoopField, player 9
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out9_)
}
IfInString, A_LoopField, player 10
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out10_)
}
IfInString, A_LoopField, player 11
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out11_)
}
IfInString, A_LoopField, player 12
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out12_)
}
IfInString, A_LoopField, player 13
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out13_)
}
IfInString, A_LoopField, player 14
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out14_)
}
IfInString, A_LoopField, player 15
{
RegExMatch(A_LoopField, "nickname:\s+(?<nick>\w+)\s+, team: (?<team>\d+)", out15_)
}
}