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

	<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>2007-02-12T23:39:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-02-12T23:39:26-04:00</updated>

		<published>2007-02-12T23:39:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70420#p70420</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70420#p70420"/>
		<title type="html"><![CDATA[Need to strip color and underline codes out of log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70420#p70420"><![CDATA[
You'll have to make a little custom script/proc for logging things, and then pass the input through the [stripcodes] function:<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><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Feb 12, 2007 11:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[davidc1857]]></name></author>
		<updated>2007-02-12T00:51:06-04:00</updated>

		<published>2007-02-12T00:51:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70395#p70395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70395#p70395"/>
		<title type="html"><![CDATA[Need to strip color and underline codes out of log files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70395#p70395"><![CDATA[
I'm basically trying to use eggdrop for nothing more than creating good readable logs for a IRC channel.<br><br>I've got it working the way I want, except that a lot of people use colors and such and those codes show up in the log as control characters, etc.<br><br>Is there an easy way to strip those out?<br><br>Thanks,<br>David Chamberlian<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8702">davidc1857</a> — Mon Feb 12, 2007 12:51 am</p><hr />
]]></content>
	</entry>
	</feed>
