mIRC Homepage
Code:
raw 604:*: {

  var %io = is online

  var %lo = logged online

  var %h1 = edited.valid.host
  var %h2 = 837A9E6C.9B4294D4.6196E12.IP

  var %n = MyNick AnotherOfMyNicks

  if ((%io == $6-) || (%lo == $6-)) {

    if ($2 isin %n) {

      if (($4 != %h1) && ($4 != %h2)) {

        ns recover $2 $nspass

        ns release $2 $nspass

      }

    }

  }

}


Nothing is really working properly with this. I haven't touched mIRC in ages so it's no surprise I'm rusty. Anyway, It's basically trying to parse the info for UnrealIRCd's /WATCH list.

Any ideas?
Code:
raw 604:*:{
  if $2 != $me {
    if $istok(list of my nicks space separated,$2,32) {
      .msg nickserv recover $2 $nspass
    }
  }
}
on *:notice:/msg NickServ RELEASE &*:*:{
  .msg nickserv release $4
}

Warning: when testing this code, out of 5 tests, there was one time when services did not release the nick inspite of the release command being issued and the confirmation message being received. I had to get an IRC Admin to force the release of the nick from services.
© mIRC Discussion Forums