<?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/5621" />

	<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>2003-09-21T14:15:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-09-21T14:15:44-04:00</updated>

		<published>2003-09-21T14:15:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27397#p27397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27397#p27397"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27397#p27397"><![CDATA[
Sorry?<br><br>Are you saying that No!Spam is correct, but the one your posted wasn't?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 21, 2003 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-20T13:53:54-04:00</updated>

		<published>2003-09-20T13:53:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27361#p27361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27361#p27361"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27361#p27361"><![CDATA[
Funny.. I do see that the same proc as I've posted above is still used in the no!spam 1.7.2.. so, wich is wich? I'm a bit confused..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Sep 20, 2003 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-19T12:30:53-04:00</updated>

		<published>2003-09-19T12:30:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27296#p27296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27296#p27296"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27296#p27296"><![CDATA[
I'ts the same code as you've *sugested* to me in a post long time ago.. Thanks for pointing that out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Sep 19, 2003 12:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-09-18T17:00:23-04:00</updated>

		<published>2003-09-18T17:00:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27271#p27271</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27271#p27271"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27271#p27271"><![CDATA[
I havn't got chance to check, however, is the bugger version actualy included in no!spam, or have you altered yours on accident?<br><br>The loss of such things is trivial, though it is still incorrect.<br><br>As for the non-mirc codes. Correct, however, both are two well used codes.<br><br>007 is BEL.<br><br>006 is used by other client, which I can't remember.<br><br>I should also have 011 in as mIRC will render it as a tab with certain fonts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu Sep 18, 2003 5:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-18T16:46:12-04:00</updated>

		<published>2003-09-18T16:46:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27270#p27270</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27270#p27270"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27270#p27270"><![CDATA[
What you mean by "losing stuff that is not part of the color code" ? I'll have a look on yours tomorow, not I'm off to bed. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Sep 18, 2003 4:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-18T16:20:43-04:00</updated>

		<published>2003-09-18T16:20:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27269#p27269</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27269#p27269"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27269#p27269"><![CDATA[
<blockquote class="uncited"><div>I'm using it and is working fine at me.</div></blockquote>Sure..if you don't care about losing stuff that is not part of the color code <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> Try my example and you'll see what I mean.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Sep 18, 2003 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-18T16:01:03-04:00</updated>

		<published>2003-09-18T16:01:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27268#p27268</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27268#p27268"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27268#p27268"><![CDATA[
Bugg ppslim with the ctrl:filter proc <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I'm using it and is working fine at me.. also, doh! I've gave you an example with the <em class="text-italics">set text [ctrl:filter $text]</em> .. don't take it *ad literam* <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>PS: Here is a lil test to proove that ppslim control filter thing is working fine:<div class="codebox"><p>Code: </p><pre><code>bind pub - !bla pub:blaproc pub:bla {nick uhost hand chan text} {putserv "PRIVMSG $chan :result: [ctrl:filter $text]"}proc ctrl:filter {str} { regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str return $str }</code></pre></div>Just do a !bla something with bold or whatever you want and then see by yourself what is the result..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Sep 18, 2003 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-18T15:20:26-04:00</updated>

		<published>2003-09-18T15:20:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27267#p27267</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27267#p27267"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27267#p27267"><![CDATA[
<blockquote class="uncited"><div>i have problems with case sensitive .....<br>how i resolve this?</div></blockquote>Some commands have a -nocase option. (check the <a href="http://tcl.tk/man/tcl8.3/TclCmd/contents.htm" class="postlink">manual</a>) If the command you're using doesn't have this, convert the strings to lowercase using '<a href="http://tcl.tk/man/tcl8.3/TclCmd/string.htm#M43" class="postlink">string tolower</a>'<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Sep 18, 2003 3:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-18T15:14:35-04:00</updated>

		<published>2003-09-18T15:14:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27266#p27266</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27266#p27266"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27266#p27266"><![CDATA[
thanks everybody<br>i tryed put the code you guys send to me every place in the tcl<br>and finally it worked<br>the bot doesnt acept color codes , bold etc , but , i have problems with case sensitive .....<br>how i resolve this?<p>Statistics: Posted by Guest — Thu Sep 18, 2003 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-18T14:57:21-04:00</updated>

		<published>2003-09-18T14:57:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27264#p27264</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27264#p27264"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27264#p27264"><![CDATA[
<blockquote class="uncited"><div>the eggdrop says that can't find "text" variable ...</div></blockquote>if your text is in "i", why are you trying to filter "text"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Sep 18, 2003 2:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-18T14:54:56-04:00</updated>

		<published>2003-09-18T14:54:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27263#p27263</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27263#p27263"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27263#p27263"><![CDATA[
the problem is here<div class="codebox"><p>Code: </p><pre><code>set text [ctrl:filter $text] </code></pre></div>the eggdrop says that can't find "text" variable ...<p>Statistics: Posted by Guest — Thu Sep 18, 2003 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-18T14:51:09-04:00</updated>

		<published>2003-09-18T14:51:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27262#p27262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27262#p27262"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27262#p27262"><![CDATA[
<blockquote class="uncited"><div>use something like: ...</div></blockquote>Filtering "a\003,\0030,\0030,0b" should result in "a,,b", not "ab" (like the proc you pasted)<br><br>Try <div class="codebox"><p>Code: </p><pre><code>proc ctrlfilter {str} {regsub -all {\002|\003([0-9]{1,2}(,[0-9]{1,2})?)?|\017|\026|\037} $str "" strreturn $str}</code></pre></div> and btw: \006 &amp; \007 ain't mirc control codes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Sep 18, 2003 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-18T14:33:41-04:00</updated>

		<published>2003-09-18T14:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27261#p27261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27261#p27261"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27261#p27261"><![CDATA[
just added what you said to my tcl , and the eggdrop returned this<br><div class="codebox"><p>Code: </p><pre><code>[15:26] Tcl error in file 'eggdrop.conf':[15:26] can't read "text": no such variable    while executing"ctrl:filter $text"    invoked from within"set text [ctrl:filter $text] "    (file "scripts/aprender.tcl" line 130)    invoked from within"source scripts/aprender.tcl"    (file "eggdrop.conf" line 1363)[15:26] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div>[/code]<p>Statistics: Posted by Guest — Thu Sep 18, 2003 2:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-09-18T14:00:12-04:00</updated>

		<published>2003-09-18T14:00:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27259#p27259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27259#p27259"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27259#p27259"><![CDATA[
do a forum search, you will find a procedure provided by Ppslim that strips all control characters from the text.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Sep 18, 2003 2:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-18T14:00:09-04:00</updated>

		<published>2003-09-18T14:00:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27258#p27258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27258#p27258"/>
		<title type="html"><![CDATA[$strip]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27258#p27258"><![CDATA[
use something like:<div class="codebox"><p>Code: </p><pre><code>set text [ctrl:filter $text]</code></pre></div>and this:<div class="codebox"><p>Code: </p><pre><code>proc ctrl:filter {str} {  regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $str "" str  return $str}</code></pre></div>Thanks to ppslim for the strip code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Sep 18, 2003 2:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
