i was working on spammers a while ago and im back again. but now spammers get developed. they really got weird spam methods.
here are some of the examples:
ºwºwºwº
I¤R¤C
(using with color and it seem like w w w and I R C)
lots of thing like that. i think they all can be catch by using "regexp" but i couldnt figure it out. i dont wanna add all spam words which i was doing to that time. speacial charecters allways changing (, . ? ' ( ) and words). i want to catch them if there is "w w w" in the sentence. it doesnt matter where they are. (ex: where is will wonder) <<-- that person must be caught.
got an another problem, the channel im protecting is at about 300 person and its very active i m using greet message to catch some kind spammers which are using the way "away message". so i have to message all the users but when i give that work to 1 bot it get lagged or "eflood"ed. so i want to cut it to half. if nick starts with "a-k" message else dont if nick starts with "k-z && "special charecters??"" message else dont.
| stripcodes <strip-flags> <string>
| Description: strips specified control characters from the string given.
| strip-flags can be any combination of the following:
| b - remove all boldface codes
| c - remove all color codes
| r - remove all reverse video codes
| u - remove all underline codes
| a - remove all ANSI codes
| g - remove all ctrl-g (bell) codes
| Returns: the stripped string.
| Module: core
NB: eggdrop v1.6.17.0
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
greenbear wrote:regsub -nocase -all {[^a-z0-9]} $line {} line
Just think what will happen to "vist us on http://www.mystupid.ad and our #stupid-channel". yes, it will become "vistusonhttpwwwmystupidadandourstupidchannel". Good luck .
you won't be able to find advirtising spam that way, you should keep at least the characters " ", "#", "/", ":" and ".". So I would rather prefer: [^a-z0-9\./:# ]
However, for general purpose stripcodes is the best and probably the fastest solution.
thats the problem, i know those codes and was using them. but unfortunately they are no more working. coz bots doesnt advertise clickable links.
really? give me just ONE clickable link that these don't match
i say it really works for clickable links but bots(spammers) doesnt use that method anymore. thats what i am saying. sorry for bad understandings and bad english
so what do you care if they use another method with no clickable links? nobody will bother to manually strip the spam and paste it in their browser - people are lazy, spammers know that; spam without clickable links is harmless (annoying yes, but that's all about it)
demond wrote:so what do you care if they use another method with no clickable links? nobody will bother to manually strip the spam and paste it in their browser - people are lazy, spammers know that; spam without clickable links is harmless (annoying yes, but that's all about it)
as you say they are annoying. i m trying to stop them before they message to users. users are lazy if they would //mode their self +R they would not see the spammers...
anyway demond can you help me about the second problem
if you've managed to write some script satisfying some of your needs, you should be able to grasp the [regexp] concept and eliminate nick patterns that are of no interest to you, it's not that hard