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

	<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-09-23T18:11:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[whoracle]]></name></author>
		<updated>2005-09-23T18:11:51-04:00</updated>

		<published>2005-09-23T18:11:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56021#p56021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56021#p56021"/>
		<title type="html"><![CDATA[Reading colored text?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56021#p56021"><![CDATA[
ok, thanks. I will try this as soon as i get some spare time...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6757">whoracle</a> — Fri Sep 23, 2005 6:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-23T01:11:43-04:00</updated>

		<published>2005-09-23T01:11:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56012#p56012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56012#p56012"/>
		<title type="html"><![CDATA[Reading colored text?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56012#p56012"><![CDATA[
[stripcodes] will work on 1.6.17 only<br><br>this will work on any eggdrop:<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>(not on ANSI colors though, but those aren't used much on IRC anyway)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Sep 23, 2005 1:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-22T12:41:14-04:00</updated>

		<published>2005-09-22T12:41:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56007#p56007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56007#p56007"/>
		<title type="html"><![CDATA[Reading colored text?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56007#p56007"><![CDATA[
You can strip the text using the [stripcodes] command (read tcl-commands.doc) and then using [string match] to match the text.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Sep 22, 2005 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whoracle]]></name></author>
		<updated>2005-09-22T12:05:40-04:00</updated>

		<published>2005-09-22T12:05:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56005#p56005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56005#p56005"/>
		<title type="html"><![CDATA[Reading colored text?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56005#p56005"><![CDATA[
This is my first script so im totally new to this.<br><br>Anyhow, I try to make a script that will read certain messages (filter out from mainchat), and if it matches, copy a string from the message (not the whole message) and put it in a file. I think everything is done and working except that the script wont get any data when I try it in the real channel where parts of the message is colored. I have tried it myself with all black text and then it worked.<br><br>How should I specify the string that the script will look for?<br><br>"Thank you" is colored, and then it changes color to number 07. should it look like:<div class="codebox"><p>Code: </p><pre><code>bind pubm o "#channel *Thank you&lt;\00307*" log:log</code></pre></div>or:<div class="codebox"><p>Code: </p><pre><code>bind pubm o "#channel *Thank you&lt;07*" log:log</code></pre></div>as it says when i view the botchatthingy (./eggdrop -n)?<br><br>the same problem in this code:<div class="codebox"><p>Code: </p><pre><code>set checktext [string first "Points&lt;\00315Filled:" $logging]</code></pre></div>I have read, and searched but did not find anything. please help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6757">whoracle</a> — Thu Sep 22, 2005 12:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
