Note that this script has one drawback in that you can't intentionally change your nickname with /nick anymore, because each attempt will trigger ON UNOTIFY and return you to your main nick. If you want to be able to use /nick manually, you have to replace the script with the following minor modification:

Code:
on *:UNOTIFY:if (!%ignoreunotify && $nick == $mnick) nick $nick | unset %ignoreunotify
on *:NICK:if ($me == $nick && $nick == $mnick) { %ignoreunotify = $true }


This will watch for the ON NICK event (for your nick changing off of $mnick) and if seen, will ignore the next UNOTIFY event.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"