you could try:
on *:connect:/timer 1 40 /quote ping $ticks
on *:pong: {
var %time = $calc(($ticks - %time)/1000)
set %ping.pong.lag. [ $+ [ $server ] $+ . $+ [ $network ] ] %time
}
menu status,channel {
Server lag: [ %ping.pong.lag. [ $+ [ $server ] $+ . $+ [ $network ] ] ] MS:/echo -a Server lag: [ %ping.pong.lag. [ $+ [ $server ] $+ . $+ [ $network ] ] ] MS
}
---
this snippet should keep you connected, and also telll you your approx. lagg to the server ^^, im not sure if the menubar will work tho. copy past this to your remotes, and right click on the stats/channel window and it should tell you. if you click on it, it will echo it to the window.