Show Posts

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.


Messages - Spung

Pages: [1]
1
mIRC/pawn Scripting / Re: I Need Stats Online
« on: May 01, 2011, 12:06:34 am »

2
mIRC/pawn Scripting / Re: I Need Stats Online
« on: April 30, 2011, 11:46:04 pm »
no :/, but thanks.

3
mIRC/pawn Scripting / I Need Stats Online
« on: April 30, 2011, 11:20:55 pm »
H, wanted to know if anyone has the online status was raised some time ago, now can not find it :S, that where the rankings come out all in one web.

Thanks, cya.

4
mIRC/pawn Scripting / Re: Please help me :D
« on: October 23, 2010, 07:02:29 pm »
Does not help me I want to delete the line I choose, Thanks :)

5
mIRC/pawn Scripting / Please help me :D
« on: October 22, 2010, 11:49:03 pm »
I need a line to delete text in a ini file, in mirc scripting
And provided with:
  !remini -n vcmp.banlist.ini BANLIST Text
  !write -ds vcmp.banlist.ini Text

The file ini no have Tittle Example:

Not is:
Code: [Select]
[BANLIST]
[IP] [Name] [Date] [Time] [By Admin] [Reason]
[IP] [Name] [Date] [Time] [By Admin] [Reason]
Is:
Code: [Select]
[IP] [Name] [Date] [Time] [By Admin] [Reason]
[IP] [Name] [Date] [Time] [By Admin] [Reason]

No have Tittle the save of the file.

Im use from save: /write vcmp.banlist.ini [IP] [Name] [Date] [Time] [By Admin] [Reason]

Not if you understand.

Thanks all, Cya All.

Att Ariel.

6
Other Style :D xD but is same :D

Code: (Alias) [Select]
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
}

Code: (command) [Select]
elseif ($3 == rank) {
  $vcmp.getrank(vcmp.say $1)
}

IRC:
elseif ($1 == !rank) {
  $vcmp.getrank(msg $chan 3)
}

Pages: [1]