This is not supposed to happen.

[January 25 2008 Friday 04:04:33 PM] * testtest (Laptop@PurpleSurge-33290AF8.fld-bsr1.chi-fld.il.cable.rcn.com) has left #mIRC
[January 25 2008 Friday 04:04:39 PM] * testtest (Laptop@PurpleSurge-33290AF8.fld-bsr1.chi-fld.il.cable.rcn.com) has joined #mIRC
testtest joined previously as Neal`.
[January 25 2008 Friday 04:05:01 PM] * testtest (Laptop@PurpleSurge-33290AF8.fld-bsr1.chi-fld.il.cable.rcn.com) has left #mIRC
[January 25 2008 Friday 04:05:08 PM] * Nealtest (Laptop@PurpleSurge-33290AF8.fld-bsr1.chi-fld.il.cable.rcn.com) has joined #mIRC
Nealtest joined previously as Neal`.

Not sure why the 2nd echo's.

But I'll fix it later.

Code:
on *:part:#: {
  /set -u3600 %jnick $+ $nick $address
}

on *:join:#: {
  var %i = 0
  while (%i <= $var($eval(% $+ jnick $+ *),0)) {
    inc %i
    if ($address == $var($eval(% $+ jnick $+ *),%i).value) {
      if ($nick !iswm $remove($var($eval(% $+ jnick $+ *),%i),$chr(37),jnick)) && ($remove($var($eval(% $+ jnick $+ *),%i),$chr(37),jnick) !iswm $nick) {
        /echo $chan $nick joined previously as $remove($var($eval(% $+ jnick $+ *),%i),$chr(37),jnick) $+ .
      }
    }
  }
}


Edit: And the flip side of this script is, it will show you your previous nick when *you* join the channel. Heh.

Last edited by LostShadow; 25/01/08 10:08 PM.