Jethro commented on a Page, Bot Nick  -  Oct 16, 2011
menu * {
  Botking
  .SetKing:set %king $$?="Name:"
  .DelKing:unset %king
}
on *:input:#:{
  if ($regex($1,/^[!.@]Nick( |$)/Si)) {
    tokenize 32 $strip($1-)
    if ($me == %king) {
      if (!$2) { notice $me Enter a new nickname! }
      else nick $2
    }
    else notice $me Ohai, you're not my owner! :O
  }
}
 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.