paste into remotes section and on connect it should start the on pong lag check.
on *:CONNECT: {
if ($ial !== $false) { ial on }
if ( Undernet isin $network ) { put some commands here ? example below for dalnet }
if ( Dalnet isin $network ) { echo -a type /chanserv help /nickserv help /memoserv help for services on dalnet }
lagtime | titlebar [mIRC] lag $calc($calc($ticks - %lag.detect.time) / 1000) seconds
}
on 1:PONG:{ if ($2 == %lag.detect.time) { echo -a lag $calc($calc($ticks - %lag.detect.time) / 1000) seconds | unset %lag.detect.time | halt } }
alias lagtime { set %lag.detect.time $ticks | .raw ping %lag.detect.time }