This command calculates the lag between you and the server, in milliseconds. type !ping and it'll msg it to the very first screen.
on *:INPUT:#: {
if ( $1 == !ping ) {
if ( %pingor == $null ) {
.set %pingor 0
.ping $nick
.timer22 -h 0 1 /inc %pingor 1
.set -u5 %chan $chan
}
else /msg $chan 4stop spamming me...
.halt
}
}
on *:pong: {
if ( %pingor != $null ) {
/msg %chan 2Currently $status with lag of %pingor milliseconds!
.timer22 off
.timer 1 2 /unset %pingor
/halt
}
}