My bot is running constantly on a Laptop running Winxp. It's running fine, but it sometimes looses authentication, loops between its own Nick, alt nick and a guest nick constantly, all the while spamming "Op me, Plz!" in the channel, annoying the hell out of the users. It's usually fixed for a few more days by restarting it, but the code looks fine to me (Although I am a beginner at both IRC and Windrop).
Anyone have any ideas? This only happens like once a week to once every two weeks, but always when im not online to see it. My users have to email me to tell me it's spamming again. I can probably disable the Op me plz! spam, but i have no idea about the nick roulette..
The spam is caused by one of the scripts loaded on your bot. Use a proper identification script which will identify your bot properly to the services. Search the Tcl Archive.
I found the "Op me, Plz" lines below in the channel config file and set need op, invite and key to 0.
But now i find it sometimes after i come online to be switching between its own nick, its alt nick and a guest4567 (random number) nick.
The original Nick is registered so wouldnt that prevent someoe else from taking it? Even if they did, they would have to change it right afterwards and the bot should reclaim it.
If i set the below code to 0, wouldnt it just jump to its alt nick and stay there the next time it happened?
It would depend on the Nickname settings, for example, if you have something like "KILL PROTECT" on the nickname, it would prevent others from using it. If not, its possible people can use the nickname, for as long as possible.
If you have set the bot to send an IDENTIFTY command to nickserv on connect, which it sounds like you have. Its seems its more down to services, going offline or the bot not being able to use its old nickname when it pings out (of possibly, not being able to GHOST its old nickname and re-take it).
I couldn't recommend a nickserv script, simply becouse there are too many and I dont use /or have used any of them. But, I would advice that you look for the following features: 1. Ability to GHOST/RECOVER your bots nickname 2. The Ability to IDENTIFY quickly
As for the settings i mentioned in my older post. I probably didn't explain it well enough, but basiclly, what it dose when set to 0 is just use ANY nickname that is finds it has. i.e if its nickname is changed to Guest23989 the bot will use the Guest23989 as its nickname and not try to change nicks.