Open ghost opened 12 years ago
Maybe add a list in the config for a list of other bots to ignore?
@bui there already exists a .blocks feature, however, what is being proposed (if I understand correctly) have jenni automatically detect the loop without intervention from the owner/operator of the bot.
Yes. Exactly, have jenni detect the loop and stop, without human intervention.
Seems doable. Though I think whatever idea is presented, I'm sure if someone wanted to write a malicious bot they could somehow circumvent a said protection (even if it is only time based).
What should be considered a loop? For example if jenni and at least one other bot got into a conversation with the chat module, and each response to each nick is different how would we know it is a loop?
Lets say we have two jenni's in a channel.
Someone posts "http://www.google.com" in a channel. jenni1 will say " [ Google ] - http://www.google.com ".
jenni2 will catch what jenni1 said, and repeat it. This will lead to an infinite url linking loop.
I suggest making it so this only happens once or twice, then the other jenni is ignored.