1
mIRC/pawn Scripting / Re: I Need Stats Online
« on: May 01, 2011, 12:06:34 am »
no, the stats online is this, http://xe-servers.com/index.php?action=XE%20Stats
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
[BANLIST]
[IP] [Name] [Date] [Time] [By Admin] [Reason]
[IP] [Name] [Date] [Time] [By Admin] [Reason]
Is:[IP] [Name] [Date] [Time] [By Admin] [Reason]
[IP] [Name] [Date] [Time] [By Admin] [Reason]
alias vcmp.getrank {
var %1n
var %1k = 0
var %2n
var %2k = 0
var %3n
var %3k = 0
var %max = $ini(vcmp.stats.ini,KILLS,0)
var %a = 1
while (%a <= %max) {
if ($readini(vcmp.stats.ini,KILLS,$ini(vcmp.stats.ini,KILLS,%a)) >= %3k) {
if ($readini(vcmp.stats.ini,KILLS,$ini(vcmp.stats.ini,KILLS,%a)) >= %2k) {
if ($readini(vcmp.stats.ini,KILLS,$ini(vcmp.stats.ini,KILLS,%a)) >= %1k) {
var %1n = $ini(vcmp.stats.ini,KILLS,%a)
var %1k = $readini(vcmp.stats.ini,KILLS,$ini(vcmp.stats.ini,KILLS,%a))
}
else {
var %2n = $ini(vcmp.stats.ini,KILLS,%a)
var %2k = $readini(vcmp.stats.ini,KILLS,$ini(vcmp.stats.ini,KILLS,%a))
}
}
else {
var %3n = $ini(vcmp.stats.ini,KILLS,%a)
var %3k = $readini(vcmp.stats.ini,KILLS,$ini(vcmp.stats.ini,KILLS,%a))
}
}
!inc %a
}
%how The 3 best players:
%how 1: %1n - %1k
%how 2: %2n - %2k
%how 3: %3n - %3k
}
elseif ($3 == rank) {
$vcmp.getrank(vcmp.say $1)
}
IRC:
elseif ($1 == !rank) {
$vcmp.getrank(msg $chan 3)
}