RusselB commented on a Page, Timed Whois  -  Aug 01, 2010

Add in additional lines like

elseif ($numeric == 317) {
    .echo -t @auto-whois $$2 has been idle for $duration($3)
  }

for the additional raws that you want to show.
The raws for the /whois command (and several other commands) can be gotten from here

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.