<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/10325" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2005-08-22T14:34:01-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/10325</id>

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-22T14:34:01-04:00</updated>

		<published>2005-08-22T14:34:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54677#p54677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54677#p54677"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54677#p54677"><![CDATA[
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<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 22, 2005 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2005-08-22T13:28:24-04:00</updated>

		<published>2005-08-22T13:28:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54675#p54675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54675#p54675"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54675#p54675"><![CDATA[
<blockquote class="uncited"><div>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)</div></blockquote>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... <br><br>anyway demond can you help me about the second problem  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Mon Aug 22, 2005 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-22T12:09:17-04:00</updated>

		<published>2005-08-22T12:09:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54666#p54666</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54666#p54666"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54666#p54666"><![CDATA[
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)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 22, 2005 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2005-08-22T08:01:29-04:00</updated>

		<published>2005-08-22T08:01:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54646#p54646</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54646#p54646"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54646#p54646"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div><blockquote class="uncited"><div>this will strip mIRC color and control codes:<div class="codebox"><p>Code: </p><pre><code>regsub -all {([\002\017\026\037]|[\003]{1}[0-9]{0,2}[\,]{0,1}[0-9]{0,2})} $str {} str</code></pre></div>and this will match a hotlink (clickable URL) or chan ad:<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)(http://|www\.|irc\.|\s#)} $str</code></pre></div></div></blockquote><br>thats the problem, i know those codes and was using them. but unfortunately they are no more working. coz bots doesnt advertise clickable links.</div></blockquote>really? give me just ONE clickable link that these don't match</div></blockquote>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  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Mon Aug 22, 2005 8:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-22T00:32:02-04:00</updated>

		<published>2005-08-22T00:32:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54628#p54628</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54628#p54628"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54628#p54628"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>this will strip mIRC color and control codes:<div class="codebox"><p>Code: </p><pre><code>regsub -all {([\002\017\026\037]|[\003]{1}[0-9]{0,2}[\,]{0,1}[0-9]{0,2})} $str {} str</code></pre></div>and this will match a hotlink (clickable URL) or chan ad:<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)(http://|www\.|irc\.|\s#)} $str</code></pre></div></div></blockquote><br>thats the problem, i know those codes and was using them. but unfortunately they are no more working. coz bots doesnt advertise clickable links.</div></blockquote>really? give me just ONE clickable link that these don't match<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 22, 2005 12:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2005-08-22T00:02:22-04:00</updated>

		<published>2005-08-22T00:02:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54627#p54627</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54627#p54627"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54627#p54627"><![CDATA[
about the second problem can someone help me?<br><br>i think one if and else should be enough, like if nick starts with the letter a-q do something else do nothing...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Mon Aug 22, 2005 12:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2005-08-21T23:42:16-04:00</updated>

		<published>2005-08-21T23:42:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54626#p54626</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54626#p54626"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54626#p54626"><![CDATA[
<blockquote class="uncited"><div>this will strip mIRC color and control codes:<div class="codebox"><p>Code: </p><pre><code>regsub -all {([\002\017\026\037]|[\003]{1}[0-9]{0,2}[\,]{0,1}[0-9]{0,2})} $str {} str</code></pre></div>and this will match a hotlink (clickable URL) or chan ad:<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)(http://|www\.|irc\.|\s#)} $str</code></pre></div></div></blockquote><br>thats the problem, i know those codes and was using them. but unfortunately they are no more working. coz bots doesnt advertise clickable links.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Sun Aug 21, 2005 11:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-20T12:56:21-04:00</updated>

		<published>2005-08-20T12:56:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54557#p54557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54557#p54557"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54557#p54557"><![CDATA[
this will strip mIRC color and control codes:<div class="codebox"><p>Code: </p><pre><code>regsub -all {([\002\017\026\037]|[\003]{1}[0-9]{0,2}[\,]{0,1}[0-9]{0,2})} $str {} str</code></pre></div>and this will match a hotlink (clickable URL) or chan ad:<div class="codebox"><p>Code: </p><pre><code>regexp {(?i)(http://|www\.|irc\.|\s#)} $str</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Aug 20, 2005 12:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-08-20T07:25:40-04:00</updated>

		<published>2005-08-20T07:25:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54551#p54551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54551#p54551"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54551#p54551"><![CDATA[
<blockquote class="uncited"><div>regsub -nocase -all {[^a-z0-9]} $line {} line</div></blockquote>Just think what will happen to "vist us on <a href="http://www.mystupid.ad" class="postlink">http://www.mystupid.ad</a> and our #stupid-channel". yes, it will become "vistusonhttpwwwmystupidadandourstupidchannel". Good luck <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br>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\./:# ]<br><br><br>However, for general purpose stripcodes is the best and probably the fastest solution.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Aug 20, 2005 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-19T19:59:37-04:00</updated>

		<published>2005-08-19T19:59:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54505#p54505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54505#p54505"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54505#p54505"><![CDATA[
/me makes a note to himself to check that (source code for stripping) out<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Aug 19, 2005 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-08-19T19:39:59-04:00</updated>

		<published>2005-08-19T19:39:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54502#p54502</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54502#p54502"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54502#p54502"><![CDATA[
<blockquote class="uncited"><div>| stripcodes &lt;strip-flags&gt; &lt;string&gt;<br>|   Description: strips specified control characters from the string given.<br>|     strip-flags can be any combination of the following:<br>|       b - remove all boldface codes<br>|       c - remove all color codes<br>|       r - remove all reverse video codes<br>|       u - remove all underline codes<br>|       a - remove all ANSI codes<br>|       g - remove all ctrl-g (bell) codes<br>|   Returns: the stripped string.<br>|   Module: core</div></blockquote>NB: eggdrop v1.6.17.0<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Aug 19, 2005 7:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-08-19T10:51:44-04:00</updated>

		<published>2005-08-19T10:51:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54491#p54491</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54491#p54491"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54491#p54491"><![CDATA[
You could remove everything thats not a normal char or a number from the string before doing any regexp matches on it.<div class="codebox"><p>Code: </p><pre><code>regsub -nocase -all {[^a-z0-9]} $line {} line</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Fri Aug 19, 2005 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[entrapmen]]></name></author>
		<updated>2005-08-19T08:55:26-04:00</updated>

		<published>2005-08-19T08:55:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54490#p54490</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54490#p54490"/>
		<title type="html"><![CDATA[some regexp problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54490#p54490"><![CDATA[
Hi,<br><br>i was working on spammers a while ago and im back again. but now spammers get developed. they really got weird spam methods.<br><br>here are some of the examples:<br><br>ºwºwºwº<br>I¤R¤C<br><br>(using with color and it seem like w w w and I R C)<br><br>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) &lt;&lt;-- that person must be caught.<br><br>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 &amp;&amp; "special charecters??"" message else dont.<br><br>sorry for bad english, i tried my best. thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3463">entrapmen</a> — Fri Aug 19, 2005 8:55 am</p><hr />
]]></content>
	</entry>
	</feed>
