When I had a lagbar in my script I used /whois and the
raw reply for "no such name/channel" to do it. Not sure if it would make a difference... I just had a timer to /whois !$ctime
so it would always bounce and then I'd check the ctime it was sent vs. the actual time (would work using $ticks too)

Problem was with the multi-server support I couldn't figure out if I should do separate lag-checks or average them...so I just chopped it out instead...wasn't that necessary to me.