Aucun50 commented on a Page, Simple Nickserv Ident  -  Jun 05, 2009

Not really a big deal but you can use one on dialog like:

on *:dialog:ns:*:*: {
  if ($devent == init) { did -a NS 2 %Pass }
  elseif ($devent == sclick) {
    if ($did == 3) { set %Pass $did(1) | did -ra NS 2 %Pass }
    elseif ($did == 4) { unset %Pass | did -r NS 2 }
  }
}

Also you should use "did -ra" for the add are you will add and set the old one + the new one.

 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.