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

	<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>2017-09-16T16:14:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2017-09-16T16:14:00-04:00</updated>

		<published>2017-09-16T16:14:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106445#p106445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106445#p106445"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106445#p106445"><![CDATA[
hi spike^^ <br><br>the tcl works very well but it works by grabbing all the tcl it is possible that it only works in a tcl..<br><br>example<br>that works only in the tcl where it was added.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Sat Sep 16, 2017 4:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-18T19:50:30-04:00</updated>

		<published>2016-10-18T19:50:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105499#p105499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105499#p105499"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105499#p105499"><![CDATA[
SpiKe^^it works very well, now the bot will ignore the colors in the texts.<br>the combining both tcl, (SpiKe^^ and caesar of -&gt; <a href="http://forum.egghelp.org/viewtopic.php?t=19880" class="postlink">http://forum.egghelp.org/viewtopic.php?t=19880</a>) <br><br>the combination of both tcl, it gave like the result to which this works well, they do not pay attention of the colors in the texts in the open channel as well as also in the private one.<br>thanks SpiKe^^ and caesar for the help..<br><br><strong class="text-strong"><span style="color:red"><br>NOTE.. </span></strong><br>so that this tcl should work in global form it is necessary to add this one<br>tcl in the .conf like that the tcl will work in global form<br><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 [string map [list \017 ""] [stripcodes abcgru $a]]  *raw:irc:msg $f $k $a  *raw:PRIVMSG $f $k $a}    </code></pre></div><strong class="text-strong"> ignore colors in the texts, in the open channel</strong><br><br><a href="https://postimg.org/image/3ybnka997/" class="postlink"><img src="https://s25.postimg.org/8k7rsmusf/command_in_color_channel.jpg" class="postimage" alt="Image"></a><br><br><strong class="text-strong"> ignore colors in the texts, in the private bot</strong><br><br><a href="https://postimg.org/image/645yescpn/" class="postlink"><img src="https://s25.postimg.org/wch345wtb/command_in_color_private_bot.jpg" class="postimage" alt="Image"></a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Tue Oct 18, 2016 7:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-14T21:02:20-04:00</updated>

		<published>2016-10-14T21:02:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105495#p105495</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105495#p105495"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105495#p105495"><![CDATA[
spike^^<br>notice that its tcl works only in open channel<br>but it does not work when it is in privately texts with colors in the bot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Fri Oct 14, 2016 9:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-14T20:46:59-04:00</updated>

		<published>2016-10-14T20:46:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105493#p105493</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105493#p105493"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105493#p105493"><![CDATA[
friend works very quite thank you <br>I it added the .conf and its code is employed at global form <br>thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Fri Oct 14, 2016 8:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-14T20:40:16-04:00</updated>

		<published>2016-10-14T20:40:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105492#p105492</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105492#p105492"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105492#p105492"><![CDATA[
perfect bros <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)<br><br><br>I would like that now its tcl is a global general for all the tcl and that it works so .. is possible bros ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Fri Oct 14, 2016 8:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-10-14T19:02:35-04:00</updated>

		<published>2016-10-14T19:02:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105491#p105491</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105491#p105491"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105491#p105491"><![CDATA[
Edited my above post to show your reasons and fix.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Oct 14, 2016 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-18T19:56:17-04:00</updated>

		<published>2016-10-14T18:32:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105490#p105490</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105490#p105490"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105490#p105490"><![CDATA[
I me do not work why my question is <br><br>command !version example <span style="color:orange">!version</span> or <span style="color:blue">!version</span><br><br>that the command in open channel recognizes <span style="color:green">colors </span> in bind pub - !version version<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !version versionproc version {nick host hand chan arg} {global botnickputhelp "NOTICE $nick :I am a called $botnick. running in [lindex $version 0]"}</code></pre></div><a href="https://postimg.org/image/jjqmlvjyz/" class="postlink"><img src="https://s25.postimg.org/loazmyllr/colors.jpg" class="postimage" alt="Image"></a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Fri Oct 14, 2016 6:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-10-14T19:10:22-04:00</updated>

		<published>2016-10-14T18:02:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105489#p105489</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105489#p105489"/>
		<title type="html"><![CDATA[proc striprivmsg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105489#p105489"><![CDATA[
Yes, exactly.<br><br>That code linked above is the only sure-fire way I know to have binds trigger on colored text.<br><br>The reason proc version is not replying is that glaring error you must be ignoring.<br><br>And yes, striprivmsg does in fact work great:) Try it something like this...<div class="codebox"><p>Code: </p><pre><code>catch {unbind raw - PRIVMSG *raw:irc:msg} bind raw - PRIVMSG striprivmsg proc striprivmsg {f k a} {   set a [string map [list \017 ""] [stripcodes abcgru $a]]   *raw:irc:msg $f $k $a } bind pub - !version version proc version {nick host hand chan arg} {   # !!!! If you are going to use the global $version, you must list it here !!!! #  global botnick version  puthelp "NOTICE $nick :I am a called $botnick. running in [lindex $version 0]" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Oct 14, 2016 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-14T17:04:10-04:00</updated>

		<published>2016-10-14T17:04:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105488#p105488</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105488#p105488"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105488#p105488"><![CDATA[
I me do not work why my question is <br><br>command !version example <span style="color:orange">!version</span> or <span style="color:blue">!version</span><br><br>that the command in open channel recognizes <span style="color:green">colors </span> in bind pub - !version version<br><br>-----------------------------<br><br>bind pub - !version version<br><br>proc version {nick host hand chan arg} {<br>global botnick<br>puthelp "NOTICE $nick :I am a called $botnick. running in [lindex $version 0]"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8327">Arnold_X-P</a> — Fri Oct 14, 2016 5:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-10-13T22:15:44-04:00</updated>

		<published>2016-10-13T22:15:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105487#p105487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105487#p105487"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105487#p105487"><![CDATA[
See this forum thread --&gt; <a href="http://forum.egghelp.org/viewtopic.php?t=19880" class="postlink">http://forum.egghelp.org/viewtopic.php?t=19880</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Oct 13, 2016 10:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Arnold_X-P]]></name></author>
		<updated>2016-10-13T22:23:23-04:00</updated>

		<published>2016-10-13T21:55:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105486#p105486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105486#p105486"/>
		<title type="html"><![CDATA[Trigger on text ignoring applied color codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105486#p105486"><![CDATA[
is possible that the tcl recognizes the colors in the command !version example <strong class="text-strong">!version   or  <span style="color:red">!version</span><br></strong><br><br>bind pub - !version version     <br><br>proc version {nick host hand chan arg} {<br>global botnick <br>puthelp "NOTICE $nick :I am a called $botnick. running in [lindex $version 0]"<br>}<br><br>that the tcl also recognizes the command in colors  <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=8327">Arnold_X-P</a> — Thu Oct 13, 2016 9:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
