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

	<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>2016-05-02T17:48:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-05-02T17:48:19-04:00</updated>

		<published>2016-05-02T17:48:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104957#p104957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104957#p104957"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104957#p104957"><![CDATA[
Please see this related forum post for a possible fix.<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=20133" class="postlink">http://forum.egghelp.org/viewtopic.php?t=20133</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Mon May 02, 2016 5:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-04-15T08:43:30-04:00</updated>

		<published>2016-04-15T08:43:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104922#p104922</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104922#p104922"/>
		<title type="html"><![CDATA[Strip control codes italic font [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104922#p104922"><![CDATA[
I already solved and it works for all (italics, bold, underline, colors...)<br><div class="codebox"><p>Code: </p><pre><code>regsub -all {[\001-\010]|[\013-\037]|[\177]|\003([0-9]{1,2}(,[0-9]{1,2})?)?} $a {} a</code></pre></div>Thanks to <strong class="text-strong">caesar</strong> and <strong class="text-strong">willyw</strong> for their help and concern to fix it .<br><br><span style="font-size:150%;line-height:116%"><span style="color:red"><em class="text-italics"><strong class="text-strong">IMPORTANT EDIT</strong></em>:</span></span><br><strong class="text-strong">Use this workaround at your own risk,<span style="color:red"> it can cause problems with CTCP</span> .</strong><br><strong class="text-strong">Please DO NOT use it! </strong><br><br>I Do not remove the solution so that it can investigate the reasons that can cause damage to the CTCP .<br><span style="text-decoration:underline">If a moderator deems it necessary, edit or delete this post.</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Fri Apr 15, 2016 8:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-04-06T18:59:01-04:00</updated>

		<published>2016-04-06T18:59:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104901#p104901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104901#p104901"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104901#p104901"><![CDATA[
I'm asking in the mIRC official forum where is the control code.<br>When responding me I share here....<br><strong class="text-strong">Edit:</strong><br>Someone answered mIRC <a href="http://forums.mirc.com/ubbthreads.php/topics/257431/Control_code_for_italic_font#Post257431" class="postlink">forum</a> that the character is: $chr(29)<br><br>I tried and character work , creating the <em class="text-italics">italic font</em>.<br>Do not know if this can help ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Wed Apr 06, 2016 6:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2016-04-06T08:46:37-04:00</updated>

		<published>2016-04-06T08:46:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104900#p104900</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104900#p104900"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104900#p104900"><![CDATA[
So I had the idea to see what it looked like, raw.<br><br>Tried  .console +r   in a bot.  Can't see it.<br><br>Even tried  /debug -n newwindow   <br>in mIRC - and can't see it.<br><br>Where _IS_ the control code?   I've never really thought about this before...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Apr 06, 2016 8:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-04-06T03:21:13-04:00</updated>

		<published>2016-04-06T03:21:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104893#p104893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104893#p104893"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104893#p104893"><![CDATA[
Just downloaded latest mIRC client to test things out and nothing that I used to know doesn't seem to be working any more.<br><br>I have no idea what's the current code for italics.. Only Ctrl + I seems to making text in italics. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br>Sadly the only option would be to drop the control codes when playing trivia.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Apr 06, 2016 3:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-04-05T18:02:04-04:00</updated>

		<published>2016-04-05T18:02:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104890#p104890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104890#p104890"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104890#p104890"><![CDATA[
<blockquote class="uncited"><div>Try this:<div class="codebox"><p>Code: </p><pre><code>regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $a {} $a</code></pre></div>Haven't tested it so let me know if works.</div></blockquote>It did not work , but do not worry, I suggested to the user who does not use such font more if you plan to play BogusTrivia.<br>Very friendly and thanks for the help .  <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=12499">juanamores</a> — Tue Apr 05, 2016 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-04-03T14:46:47-04:00</updated>

		<published>2016-04-03T14:46:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104878#p104878</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104878#p104878"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104878#p104878"><![CDATA[
Try this:<div class="codebox"><p>Code: </p><pre><code>regsub -all -- {\003[0-9]{0,2}(,[0-9]{0,2})?|\017|\037|\002|\026|\006|\007} $a {} $a</code></pre></div>Haven't tested it so let me know if works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Apr 03, 2016 2:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-29T13:35:35-04:00</updated>

		<published>2016-03-29T13:35:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104861#p104861</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104861#p104861"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104861#p104861"><![CDATA[
The two anterior methods I mentioned works very well, except for italic font.<br>Very grateful for your help and if you have any other way to fix it would thank it a lot.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Tue Mar 29, 2016 1:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-03-29T00:48:14-04:00</updated>

		<published>2016-03-29T00:48:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104860#p104860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104860#p104860"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104860#p104860"><![CDATA[
Oh crap. Haven't tested the code, found it over the Internet and thought might help. You are right, ran a test right now and doesn't seem to be working. Sorry. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br>I see you tried two methods that should do what you asked for, and I fail to understand why they don't work. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>Will open up a test bot to see what's up.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 29, 2016 12:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-03-28T14:18:34-04:00</updated>

		<published>2016-03-28T14:18:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104857#p104857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104857#p104857"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104857#p104857"><![CDATA[
Dear <strong class="text-strong">caesar</strong> , I've tried your code, but it does not work neither with the italics nor with  bold nor underlined nor colors ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Mon Mar 28, 2016 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-03-28T06:50:00-04:00</updated>

		<published>2016-03-28T06:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104856#p104856</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104856#p104856"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104856#p104856"><![CDATA[
Try with:<div class="codebox"><p>Code: </p><pre><code>unbind raw - PRIVMSG *raw:irc:msgunbind raw - PRIVMSG *raw:PRIVMSGbind raw - PRIVMSG striprivmsgproc striprivmsg {f k a} {regsub -all {[^\u0020-\u007e]+} $a {} $a*raw:irc:msg $f $k $a*raw:PRIVMSG $f $k $a}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Mar 28, 2016 6:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-04-15T10:52:15-04:00</updated>

		<published>2016-03-27T19:27:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104855#p104855</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104855#p104855"/>
		<title type="html"><![CDATA[[SOLVED] Strip control codes italic font (slanted letter)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104855#p104855"><![CDATA[
Is there any way to perform strip the <em class="text-italics">italic</em> font (<em class="text-italics">slanted letter</em>) ?<br><br>So far I am using this code which I use for colors, bold , underlined, but it does not work for <em class="text-italics">italic</em> font (<em class="text-italics">slanted letter</em>)<div class="codebox"><p>Code: </p><pre><code>catch {unbind raw - PRIVMSG *raw:irc:msg}catch {unbind raw - PRIVMSG *raw:PRIVMSG}bind raw - PRIVMSG striprivmsgproc striprivmsg {f k a} {   regsub -all {\002|\003([0-9]{1,2}(,[0-9]{1,2})?)?|\017|\026|\037} $a {} a    *raw:irc:msg $f $k $a   *raw:PRIVMSG $f $k $a}</code></pre></div>I also tried this code, but it did not work:<div class="codebox"><p>Code: </p><pre><code>catch {unbind raw - PRIVMSG *raw:irc:msg}catch {unbind raw - PRIVMSG *raw:PRIVMSG}bind raw - PRIVMSG striprivmsgproc striprivmsg {f k a} {  set a [stripcodes abcgru $a]    *raw:irc:msg $f $k $a   *raw:PRIVMSG $f $k $a}</code></pre></div>I never cared the italics, but a person tried to play BogusTrivia wrote in italics and the bot not obeyed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sun Mar 27, 2016 7:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
