Alucard's Lag Calculator

By DarkFlaze on Sep 05, 2007

If you want a more advanced ping reply try this, I myself did not create this script. To trigger, Type: /lagcheck

alias lagcheck {
  if (%hilag == $null) { set %hilag -1 }
  if (%lolag == $null) { set %lolag 999 }
  .enable #lagcheck 
  .raw $ticks 
}
menu channel { 
  Check lag:lagcheck 
}
#lagcheck off
raw 421:*: {
  var %lag = $calc(($ticks - $2) / 1000)
  if (%lag > %hilag) { set %hilag %lag }
  if (%lag < %lolag) { set %lolag %lag }
  echo $active My lag on $server is %lag seconds. $&
    High: %hilag $+ s; Low: %lolag $+ s.
  .disable #lagcheck 
  haltdef
}
#lagcheck end

Comments

Sign in to comment.
Greg 13 FL   -  Oct 05, 2007

Good Code....

 Respond  
Gemster   -  Sep 28, 2007

seems good :P
and useful
a 6-10 for me.

 Respond  
Lindrian   -  Sep 20, 2007
alias checklag .raw ping $ticks
on ^*:PONG:{ 
var %lag = $calc($ticks - $2)
echo -a Your lag on $1 is %lag ms.
}

Smaller, does the same.

 Respond  
Sephiroth1n6   -  Sep 20, 2007

very useful and works fine

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.