I've looked around and I'm still not able to find a script that resembles what I need. If anyone can code this up for me that would be great.
Basically, I want the bot to add a list of nicknames to the server's (UnrealIRCd) WATCH list. If it finds that one of the nicknames is online, then it will check the hostmask of that nickname. If it does not match a specified list of hosts the bot will then do NS RECOVER NICKNAME PASSWORD and NS RELEASE NICKNAME PASSWORD to force a nick change on the user.
Please let me know if you need any more information.
Thanks.