mIRC Home    About    Download    Register    News    Help

Print Thread
#145409 22/03/06 09:38 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
have this:

on *:active:*:{
if ($appactive) && ($cid != $lactivecid) { .lagnow | .timerrefresh 0 1 title }
}

so on each $network window change it updates lag (delay)
but crap is that this also invokes when i'm not connected
(when i start mirc) and ofc i get errors :P

so is there a way, this to trigger ONLY when connected
but that "lag update" stays on network change ?


IceCapped
#145410 22/03/06 09:42 PM
Joined: Feb 2006
Posts: 164
V
Vogon poet
Offline
Vogon poet
V
Joined: Feb 2006
Posts: 164
Why don't you make it check it when you're on THAT connection id
ie: this is what i do scid $activecid .raw -q ping $ticks
Code:
alias -l chk.lag { 
  if ($scid($activecid).status == connected) { 
    scid $activecid .raw -q ping $ticks 
  }
}  

Last edited by vexed; 22/03/06 09:46 PM.
#145411 22/03/06 09:47 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
ok, fixed it

thanks very much !

Last edited by raZOR; 22/03/06 09:59 PM.

IceCapped

Link Copied to Clipboard