on *:CONNECT:{ titlebar | $+(.timer.lag.,$cid) 1 10 § $!+ $!ticks | $+(timer.lag.,$cid) -e }
on *:DISCONNECT:$+(.timer.lag.,$cid) off
on me:*:NICK:$+(timer.lag.,$cid) 1 10 § $!+ $!ticks
raw 421:& §*:{ titlebar LAG: $calc(($ticks - $right($2,-1)) / 1000) $+ s | $+(.timer.lag.,$cid) 1 10 § $!+ $!ticks | halt }