Jethro commented on a Page, Log Forger  -  Jun 13, 2010

The question should have been "whom do you want to log for?" As napa182 stated, it's a safe bet to have a flood control. Last but not least, you need to make sure the person you are logging for exists:

on $*:text:/^!log/iS:#:{ 
  if !%x {
    inc -u4 %x 
    if !$2 {
      msg # Whom do you want a log for? 
    }
    else { 
      msg # $iif($strip($2) ison #,$timestamp $+(<,$2,>) $3-,$2 is not on # $+ !) 
    }
  }
}
 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.