I could add dcc command for adding bad word(s), but I didn't deem that necessary since those are relatively constant, and typically you would only infrequently want to add/remove from bad word list(s), i.e. by editing bad word file(s) (of course, you can have different bad word file for each channel)
oh also should we add badwords in this format? when i use .chanset to add the file, it added successfully but i don't see in the bot directory so i can add the words.
"badword"
"*badword*"
" badword "
i created manually the file "badwords.txt "and added few words and i get this error
Tcl error [::xchannel::bad]: couldn't compile regular expression pattern: quantifier operand invalid
Thanks demond, that x:mass error is all set, after setting the mass rate for that channel and bad word is fine too but let say if i add "d*ck" to the list and some one says oh mr. v.president d*ck chinny in this case it shouldn't trigger..
you probably didn't pay attention to the NOTE in script's header
your bad words are REs (regular expressions); that means if you really want to match an expression and not a single word, you must use RE syntax; if you just to want to match plain words, anywhere in the text said on channel, you simply specify those words, without enclosing them in quotes or adding '*'; the words can be separated by any white space (space, tab, new line, etc.)
your bad words are REs (regular expressions); that means if you really want to match an expression and not a single word, you must use RE syntax; if you just to want to match plain words, anywhere in the text said on channel, you simply specify those words, without enclosing them in quotes or adding '*'; the words can be separated by any white space (space, tab, new line, etc.)
could you pls give me few examples, because i am a bit confuse, i like it to trigger on certain words, anywhere in the lines like f*ck, etc . but like in my previous example Mr V.president case i don't want it to trigger since that's a name..
but you can't distinguish between dick in a phrase that should be censored and Dick in a phrase that contains Dick Chaney, neither with RE syntax, nor with Tcl's special string matching characters like '*' and '?', since the matching is case-insensitive anyway
that's it folks, I'm done with xchannel; it has everything I deemed necessary for most people, and it should make all other protection scripts obsolete j/k, time will show, but I think I achieved my objective - highly-optimized and versatile code with 100% chanset-based configuration that should appeal to the majority of bot owners
there will be no next version unless people report bugs
the last is version 3.2, I've added drone detection (based on improved spambuster heuristics) and done some final [punish] changes
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use
that happens because on (re)start eggdrop actually loads chanfile after loading its config (and any scripts sourced in it), so at that point xchannel doesn't know about any channels
I'll find a way around this
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use