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.

No!Spam help please

Old posts that have not been replied to for several years.
Locked
j
justaname

No!Spam help please

Post by justaname »

Hi,

I recently installed No!spam from ppslim, its the latest version 1.7.2 and somehow I encountered two problems with it.

Firstly all the channels I specific with the command "+spamchan are all +d" and yet it doesn't seem to cycle the channel every 10 mins I set it to be.

Secondly is I set the spam_global to 0 so it doesn't perform a global ban when a private msg/notice comes in but only ban the particular user in the specific channel.

Please help.

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

Post by ppslim »

I havn't had much chance to visit issues witht eh script in the past, allmost 9 months I think.

I have just bought a new computer, which loves gaming :P I will be working heavily on No!Spam, this weekend, once I have my linux box up and running. The hope is, that I can test the script myself, without having to trust a users judgment. It will also speed up the location of a issue.

First off, there is no spam_global variable in No!spam. Each type of spam, has it's own spam-*-global variable. Please re-read over your settings.

You also didn't quite make yourself clear regarding how it bans. You are saying a PM/notice is arriving at the bot. Is this messages destined for the bot, or a channel?

As for cycling the channel, have you set the spam-file-cycle setting in the config file?

While No!spam allows you to configure setting on a per channel basis, you also have to make sure they are enbled inside the config file. These settings are there, so if you don't use this feature, the script won't start a loop to check the settings for each channel.

Above, I have mentioned config file, this is the no.spam.tcl file, within the top portion, where all the configuration settings are.
j
justaname

Post by justaname »

PPslim,

Thanks for enlighting me, the problem was mainly due to I didn't type .+spamchan #channel +d which resulted it wouldnt cycle the channel

But my 2nd problem yet to be solved.
I will explain into detail and hope to find a solution.

I have 2 bots, Bot A and Bot B. Bot A is a @ which is also the leaf bot. Bot B is incharge of cycling the channel to check for private msg spamming and dcc send.

When Bot B detected there is a private msg, it will send a notice to Bot A to have it ban, in this case is a private msg spamming. Bot A will not ban only in that channel whereby the user is in but will ban globally.

Pls take alook at my coding for Private channel.

#- private messages

# If you want no!spam to monitor your bots private messages (/msg) for spam, then set
# this to 1, otherwise 0 to disable.
#
# Please Note: This works just like invite checking, but you're required to store a list
# of search strings. (see DCC commands)
#
set spam_check(priv) 1

set spam_file(priv) "/home/booty/eggdrop/spam.priv"
set spam_mask(priv) 2
set spam_time(priv) 60
set spam_global(priv) 0
set spam_reason(priv) {
"Stop your spamming"
}

and my dcc command

[05:03] <Sov> .spamchan
[05:03] <wulu> [04:58] #Sov# spamchans
[05:03] <wulu> ,---- spam channels [types] [#channel]
[05:03] <wulu> | dm #iamhere
[05:03] <wulu> | m
[05:03] <wulu> `---- end


Thanks

And happy gaming!
Locked