Hi all, I'm testing by some weeks my script on mIRC 7.x (today I had upgraded to 7.27) and I've found a little problem with an operation.
I have made, some times ago, a script that saves in an .ini all parts/quits to check on join if the user have changed nick by comparing the actual address mask with the saved one.
So, I'm using an unique file (maybe I'll split by servers) to do this operation (and now is about 400kb), and on mIRC 6.x works better, but on mIRC 7 when an user join mIRC hangs for 2-3 seconds and after works good.
With Process Monitor by Microsoft I've found that when this problem appear on the operation list theres a bounch of "READFILE".
By the way I have an SSD.

Here the script:

Code:
on ^*:JOIN:#:{
  if ($conf(Varie,NickSpy) == Si) {
    if ($nick != $me) {
      var %nick2 $readini($npreclist,$address($nick,2),Nick)
      var %mask2 $readini($npreclist,$address($nick,2),Mask)
      if ($address($nick,2) == %mask2) {
        if ($nick != %nick2) { echo $pcol(Other,NickSpy) $chan $rpcode($rcode($skin(Other,NickSpy)),$lang(Common,22),$rpcode($lang(Events,20),$nick,%nick2),$iif($readini($npreclist,%mask2,Time),$v1,--/--)) }
      }
    }
  }
}

on ^*:PART:#:{
  if ($conf(Varie,NickSpy) == Si) {
    if ($address($nick,2)) {
      .writeini -n $npreclist $address($nick,2) Nick $nick
      .writeini -n $npreclist $address($nick,2) Mask $address($nick,2)
      .writeini -n $npreclist $address($nick,2) Time $time(dd/mm/yyyy HH:nn:ss)
    }
  }
}
on ^*:QUIT:{
  if ($conf(Varie,NickSpy) == Si) {
    if ($address($nick,2)) {
      .writeini -n $npreclist $address($nick,2) Nick $nick
      .writeini -n $npreclist $address($nick,2) Mask $address($nick,2)
      .writeini -n $npreclist $address($nick,2) Time $time(dd/mm/yyyy HH:nn:ss)
    }
  }
}
alias npreclist { return Resource\Varie\NPrec.lst }



Could be a mIRC 7 problem?
Thanks.

Last edited by Jacksoft; 04/11/12 09:46 AM.