Sir_Fz wrote:Seems like I forgot to add a check for disabling the private protections. Apply the following changes to fix it:
...
Thanks!
Have made these edits.
Brief tests, and now that message about Botnet protection no longer comes up in partyline.
If you have any input as to what could have been causing it though, I'd be most interested. I mean... it seemed to just happen at random. I did manage to get it to do it with /msg botnick help when that came from a user not in the bots userbase... but that doesn't seem to be related to the Botnet protection things.
Please comment... does it look ok? ... safe to use?
If you say it is ok to use like that, this will suffice for now.
But it would be much nicer if it could be set in the header, like $wmeth is. Would that be a difficult modification?
willyw wrote:If you have any input as to what could have been causing it though, I'd be most interested. I mean... it seemed to just happen at random. I did manage to get it to do it with /msg botnick help when that came from a user not in the bots userbase... but that doesn't seem to be related to the Botnet protection things.
Since the settings were set to "0," any message sent to the bot has been caught as an offense (just like setting it to 1 message during x seconds), a better setting for you was to set it to a very high value instead. In my fix, I just added a check if the value is 0 then do nothing.
willyw wrote:If you say it is ok to use like that, this will suffice for now.
But it would be much nicer if it could be set in the header, like $wmeth is. Would that be a difficult modification?
Yes, your modification should be sufficient enough. I will consider adding a new wmeth in the future.
Editing the bad words/idents...etc lists is only applied if it's done via DCC commands. If you tried editing the lists in the script, it won't work. Read the script's header about the available DCC commands provided by AllProtection.
Please post questions about FzCommands in a separate thread so it won't affect the relevancy of this topic.
...
# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1
# ADD HERE
set antispam(nicks) {
nick1
nick2
nick3
}
...
Good evening sir_fz
im using ur allpro script,and the option antispam seem not working,
i have set
# Ban spammer in all channels or only in channels it's in? (0: It's in, 1: All)
set antispam(banall) 0
but its not banning when i try to trigger the advertised words,and it should ban and kick the spammer out from channel if they spam the antispam bot rite ?
how can i edit the badchannel kickmsg, so that it wont show the exact bad channel in it? its like im re-advertising the said "bad channel" if its included in the kickmsg.
sk-4 wrote:Good evening sir_fz
im using ur allpro script,and the option antispam seem not working,
i have set
# Ban spammer in all channels or only in channels it's in? (0: It's in, 1: All)
set antispam(banall) 0
but its not banning when i try to trigger the advertised words,and it should ban and kick the spammer out from channel if they spam the antispam bot rite ?
thanks
If it's set to 1, the bot will apply the punishment on the spammer on all channels even if the spammer is not in them. If it's 0, then the punishment is only applied in the channels where the spammer is sitting.
VinceDalnet wrote:how can i edit the badchannel kickmsg, so that it wont show the exact bad channel in it? its like im re-advertising the said "bad channel" if its included in the kickmsg.