This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

How can I make my bot ignore people?

Old posts that have not been replied to for several years.
Locked
U
UberDexter

How can I make my bot ignore people?

Post by UberDexter »

Hi,

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?

Any help would be greatly appreciated.

Thanks
D.
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Heh.. Check out .help +ignore . :roll:
U
UberDexter

Post by UberDexter »

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.

Cheers
D.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Please read over your config file, as you have missedf a setting that effects the triggering fo scripts.
# If you want Eggdrop to trigger binds for ignored users, set this to 1.
set trigger-on-ignore 0
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

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.
U
UberDexter

Post by UberDexter »

Ahh, thank you; I hadn't noticed that setting before :oops:

/me takes a closer look at the config script and help file
Locked