help script - 01/11/16 10:28 PM
Hello!
I am new to this and do not understand much
I have the following file...
html.txt
atinsana
2 463 447 4 518 291
4
45
SeN-akista
1 439 396 1 539 278
5
40
castle.55
1 308 210 12 277 319
6
44
ciwantrhn47
942 107 11 365 262
7
32
PREY
885 683 693 379
8
51
Hz.Arif
819 200 12 471 336
9
31
Bergamot.
726 774 355 222
10
32
gozogur
724 167 4 134 284
11
32
KaaaN
628 409 2 094 257
12
47
altinerizmir1
619 390 3 372 500
13
46
oldrifle_tr
420 964 4 344 387
14
48
Blacknight13
332 604 490 273
15
28
m.keser
261 787 3 395 88
I want to achieve this ...
table.txt
And I only managed to get nicknames...
I am new to this and do not understand much
I have the following file...
html.txt
Quote:
atinsana
2 463 447 4 518 291
4
45
SeN-akista
1 439 396 1 539 278
5
40
castle.55
1 308 210 12 277 319
6
44
ciwantrhn47
942 107 11 365 262
7
32
PREY
885 683 693 379
8
51
Hz.Arif
819 200 12 471 336
9
31
Bergamot.
726 774 355 222
10
32
gozogur
724 167 4 134 284
11
32
KaaaN
628 409 2 094 257
12
47
altinerizmir1
619 390 3 372 500
13
46
oldrifle_tr
420 964 4 344 387
14
48
Blacknight13
332 604 490 273
15
28
m.keser
261 787 3 395 88
I want to achieve this ...
table.txt
Quote:
var dataSet = [
[ "atinsana", "2463447"],
[ "SeN-akista", "1439396"],
[ "castle.55", "1308210"],
[ "ciwantrhn47", "942107"],
[ "PREY", "885683"],
...
];
[ "atinsana", "2463447"],
[ "SeN-akista", "1439396"],
[ "castle.55", "1308210"],
[ "ciwantrhn47", "942107"],
[ "PREY", "885683"],
...
];
And I only managed to get nicknames...
Code:
alias l { var %i = 1 var %len = $lines(folder/html.txt) while (%i <= %len) { if $count($read(folder/html.txt,%i),a) { write folder/table.txt $read(folder/html.txt,%i) } inc %i } }