Lag Checker

By Meow on May 23, 2010

Pretty chill lag checker. You can change it to a channel message on line 16..

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

Comments

Sign in to comment.
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.