Added in 1.9.0
$lag
Returns connection lag to current active IRC server in milliseconds.