I've got a bot sitting on QuakeNet in a couple of channels that's running various different scripts (bofh, google, translate etc.). The problem is that some people are taking advantage of the bot's good nature and and spamming it with with junk :/
Is there an easy way I can tell the bot to ignore certain people bearing in mind that there are 4 or 5 different scripts listening for ! commands?
Will I have to kludge the scripts in to one and then put some kind of ignore filter on it (as is used in the bseen script for spurious !seen requests) or can I just tell the bot to ignore any input from certain users?
Yeah, .+ignore is fine for people that the bot recognises but if you tell it ignore someone (either by nick or hostmask) when they haven't been introduced then it doesn't make any difference to scripts which are listening for keywords/commands.
I'm after a script or a proc that I can add to my existing scripts which will ignore people based on their hostmask, regardless of whether or not the bot has ever met them before.
Ignore will ignore everything from the matching host, including telnet connections (as the help file states). Thanks for adding to that ppslim, forgot about that variable.