Thanks, I seen that... But what I meant was idle time since you recieved data... I guess mIRC would use something similar for the "PING :TIMEOUTCHECK".
Exactly the same as $chan(#).idle
.... $idle returns the seconds since you did something in mIRC (even an echo)
$chan(#name).idle returns the seconds since there was activity on the channel