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
|
if ($strip($1-) == %gsign $+ top-admins) || ($strip($1-) == %gsign $+ topadmins) && ( (%pustart == 0) || (%pustart == 3) ) && ( (%asubneed == 0) || (%bsubneed == 0) ) && (!%flood) {
var %s = $gettok($2,1,$asc(!))
.close -@ @Ventox
.window -h @Ventox
var %x = $ini(admins.ini,0)
if ($ini(admins.ini,0) < 5) && ( (%pustart == 0) || (%pustart == 3) ) { msg %chan %color Sorry, There Is Not Current Ranking Yet %color2 | /set -u3 %flood 1 }
var %z = %x
while (%x) {
echo @Ventox $ini(admins.ini,%x) $readini(admins.ini,$ini(admins.ini,%x),Gathers)
dec %x
}
//filter -cwwteu 2 32 @Ventox @Ventox
var %o = 1
var %z = 5
if ($ini(admins.ini,0) => 5) {
%e %color The %triger2 $+ Top5-Admins $+ %triger Of $+ %triger2 $ini(admins.ini,0) $+ %triger $+ known Players %color2
while (%z) {
var %user = $gettok($line(@Ventox,%o),1,32)
.timer 1 %o msg %chan %color %triger $+ - $+ $+ $ord(%o) $+ %triger $+ - $+ %triger2 %user %triger $+ ( $+ %triger2 $+ $readini(Admins.ini,%user,SteamID) $+ %triger $+ ) $+ ,Did: $+ %triger2 $readini(Admins.ini,%user,gathers) %triger $+ Gather( $+ %triger2 $+ s $+ %triger $+ ). %color2
inc %o
dec %z
}
}
set %info %s
.close -@ @Ventox
/set -u17 %flood 1
} |