The IRC server does not ask my bot to identify itself and sometimes it resets and does not recognized my bot as a registered nick.
I need a script that will let the bot do this "/identify <password" every midnight, so NickServ recognize the bot.
I also notice there's another autoIdentify script in the archive, but that only works if nickServ ask the bot to identify itself, the server I'm running on does not send anything.
Wonder if your problem has been solved. But here are two scripts that might help. They work well, when you first log on. But if you need to supply the password at midnight, I personally would just get autojump.tcl and configure it to make the bot jump servers just around/before midnight.
This script works well with stand alone clients like Chatspace, which do not have a proactive NickServ/Chanserv agent, and you have to passively feed the password to the SVC-AGENT.
Wasn't sure if this post was solved or not. I doubted it was even still active! but since its New Year soon (over here anyway). I'm taking a chance
After reading the post and about what the person wanted to script to do, i realized this script was already out there See the Link/URL below this post for it.
Information:
This script identifies to one or more nicks at 12:00 AM daily. This
can be useful to keep nicks from dropping on networks that have a
nickname registration system.