• We just launched and are currently in beta. Join us as we build and grow the community.

Capture (points) sorter

89706678

SEO Evangelist
8 Rep
0
0
0
Rep
0
8 Vouches
0
0
0
Vouches
0
Posts
165
Likes
129
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 400 XP
This code will sort your acc capture by points [python script]
Idk if anyone would need this, but I'm just practicing for my exam and it can be handy for shops for sorting like 1000 accs.
Here is a preview how it'll be sorted: It can sort any formation as you can see in the video
If you need any code relating to this, hmu
You can change the amount of points easily in the code (line 31-39)
Code:
file1 = open('combo.txt', 'r')
output1 = open('100 to 1000.txt', 'w')
output2 = open('1001 to 2000.txt', 'w')
output3 = open('2001 to 3000.txt', 'w')
output4 =  open('higest points.txt', 'w')
rest = open('rest.txt', 'w')
failed = open('failed.txt', 'w')
for lijn in file1:
a = lijn.split()
for i in range(0,len(a)):
try:
if int(a) != 999995629:
c = i
random = 0
break
except ValueError:
random = 5
continue
if random == 0:
try:
z = a[c]
try:
zz = int(z)
except ValueError:
print(lijn, file=failed, end=' ')
continue
except IndexError:
continue
try:
if zz <= 100:
print(lijn, file=rest, end=' ')
if 100 < zz <= 1000:
print(lijn, file=output1, end=' ')
if 1000 < zz <= 2000:
print(lijn, file=output2, end=' ')
if 2000 < zz <= 3000:
print(lijn, file=output3, end=' ')
if zz > 3000:
print(lijn, file=output4, end=' ')
except IndexError:
print(lijn, file=failed, end=' ')
continue
else:
print(lijn, file=failed, end=' ')
file1.close()
output1.close()
output2.close()
output3.close()
output4.close()
rest.close()
failed.close()
 

435,248

313,796

313,805

Top