Hi,
i will appreciate for your kind help regarding this as well
is there anyway to deal with this creteria..
in my spam scriot i have a spamlist like
set spamwords {
"http://"
"*join #*"
}
let say channel is set to #A, when user will say join #B, will get kick/ban, but sometime like if user says, i like to join #A, now this user will get kick/ban too, is there anyway to ignore this?? i mean how do i set a check for this?? example will be appreciated.
thanks
regards
AW
Add an if statement and compare the channel the user said to either a list of allowed channels or one channel. The best way might be to have a allowed list of words to be exceptions to the badword matches and check that list first, so if the word is in that allowed list it would skip the badword check and return. I'm far too tired right now to write up an example, but if you still need one later I could post it.
You would have to employ a monkey to sit at the keyboard and chekc if it is a question, and not spam. Monkeys are clean, efficient and will work for peanuts. Trust me, we employ enough of them.
{CRAP OFF}
You would have to include some for of inteligence into the script.
It's simple enough to setup a exception list. IE, trigger spam if some1 says "sex", but not if they say "what sex are you". But even the most simplof sentances would come in contact with this exception list.
You would need to be able to test the structure of a sentance (the placment of the words). Somthing like that employed by the ASK.com search engine.
However, it is doubtful you could make a fast enough one for eggdrop.