criminal commented on a Page, Bot Nick  -  Apr 27, 2008

u call that simple?
why not:
Code:

on :TEXT:!nick:*:{
if ($2 == $null) { notice $nick Please specify new nick }
else {
nick $2
}
}

I ... Totally agree ...
if ($2 == $null) { can be done like this:
if (!$2) {
I learned that from mountaindrew Tbh >.<
But with your version, Lucsatise, everyone can change the nickname..

menu * {
  Botking
  .SetKing:set %king $$?=\"Name:\"
  .DelKing:unset %king
}
on $*:TEXT:/^[!.@]Nick/si:#: {
  if ($nick == %king) {
    if (!$2) { notice $nick Enter a new nickname! }
    else {
      nick $2
    }
  }
  else {
    notice $nick 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.