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

	<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>2022-08-16T10:03:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T10:03:54-04:00</updated>

		<published>2022-08-16T10:03:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111302#p111302</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111302#p111302"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111302#p111302"><![CDATA[
thanks CrazyCat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 10:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-16T09:55:14-04:00</updated>

		<published>2022-08-16T09:55:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111301#p111301</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111301#p111301"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111301#p111301"><![CDATA[
First, try to solve your troubles before posting, post only when you have tried different things.<br><br>Second, there are 2 binds, so this is what you have to do:<div class="codebox"><p>Code: </p><pre><code>unbind rawt - PRIVMSG *rawt:irc:msgunbind rawt - PRIVMSG *rawt:PRIVMSGbind rawt - PRIVMSG striprivmsgproc striprivmsg {from key text tag} {  set text [stripcodes * $text]  *rawt:irc:msg $from $key $text $tag  *rawt:PRIVMSG $from $key $text $tag}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Aug 16, 2022 9:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T09:50:38-04:00</updated>

		<published>2022-08-16T09:50:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111300#p111300</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111300#p111300"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111300#p111300"><![CDATA[
Yea sorry about that i overlooked but got it error free<br>Not sure if it actually works properly<br><br>il test it some more thanks crazycat, willyw<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 9:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-16T09:44:51-04:00</updated>

		<published>2022-08-16T09:44:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111299#p111299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111299#p111299"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111299#p111299"><![CDATA[
Why don't you read all the words in my post ?<div class="codebox"><p>Code: </p><pre><code> proc striprivmsg {f k a t} {      set a [string map [list \017 ""] [stripcodes abcgru $a]]   *rawt:irc:msg $f $k $a $t}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Aug 16, 2022 9:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T09:44:10-04:00</updated>

		<published>2022-08-16T09:44:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111298#p111298</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111298#p111298"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111298#p111298"><![CDATA[
now i tried it like this :<br><div class="codebox"><p>Code: </p><pre><code>catch {unbind rawt - PRIVMSG *rawt:irc:msg}bind rawt - PRIVMSG striprivmsg proc striprivmsg {f k text tag} {     set a [string map [list \017 ""] [stripcodes abcgru $text]]*rawt:irc:msg $f $k $text $tag}</code></pre></div>no errors but not sure if its proper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 9:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T09:33:51-04:00</updated>

		<published>2022-08-16T09:33:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111297#p111297</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111297#p111297"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111297#p111297"><![CDATA[
i tried it like this and still get errors:<br><div class="codebox"><p>Code: </p><pre><code>catch {unbind rawt - PRIVMSG *rawt:irc:msg}bind rawt - PRIVMSG striprivmsg proc striprivmsg {f k a} {      set a [string map [list \017 ""] [stripcodes abcgru $a]]*rawt:irc:msg $f $k $a}</code></pre></div>errors:<br><blockquote class="uncited"><div>Tcl error [striprivmsg]: wrong # args: should be "striprivmsg f k a"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-16T09:17:34-04:00</updated>

		<published>2022-08-16T09:17:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111296#p111296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111296#p111296"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111296#p111296"><![CDATA[
Read the manual !<blockquote class="uncited"><div>    RAWT (stackable)<br>    bind rawt &lt;flags&gt; &lt;keyword&gt; &lt;proc&gt;<br>    procname &lt;from&gt; &lt;keyword&gt; &lt;text&gt; &lt;tag&gt;</div></blockquote>Your procedure must now integrate the tag argument. And send it to *rawt:irc:msg<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Aug 16, 2022 9:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T09:12:11-04:00</updated>

		<published>2022-08-16T09:12:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111295#p111295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111295#p111295"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111295#p111295"><![CDATA[
tried your suggestion CrazyCat and gave me this error:<br><blockquote class="uncited"><div> Tcl error [striprivmsg]: wrong # args: should be "striprivmsg f k a" <br>invalid command name "*raw:irc:msg"</div></blockquote>your suggestion i didnt understand willyw i used that command in PL and it returned the bind<br><blockquote class="uncited"><div>15:09:19 &lt;Cappuccino&gt; .binds *raw:irc:m* all<br>15:09:19 &lt;HawkONE&gt; [18:09:19] #ctcp# binds *raw:irc:m* all<br>15:09:19 &lt;HawkONE&gt; Command bindings:<br>15:09:19 &lt;HawkONE&gt;       TYPE FLAGS    COMMAND              HITS BINDING (TCL)<br>15:09:19 &lt;HawkONE&gt;        raw -|-      MODE                   27 *raw:irc:mode</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 9:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T09:02:49-04:00</updated>

		<published>2022-08-16T09:02:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111294#p111294</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111294#p111294"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111294#p111294"><![CDATA[
Thanks willyw and crazycat for your swift reply the bot version im running is 1.9.3<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 9:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-08-16T08:59:06-04:00</updated>

		<published>2022-08-16T08:59:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111293#p111293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111293#p111293"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111293#p111293"><![CDATA[
I guess you're using eggdrop 1.9.3 ?<br><br>Use <strong class="text-strong">rawt - PRIVMSG *rawt:irc:msg</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Aug 16, 2022 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2022-08-16T08:19:00-04:00</updated>

		<published>2022-08-16T08:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111291#p111291</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111291#p111291"/>
		<title type="html"><![CDATA[Re: make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111291#p111291"><![CDATA[
<blockquote class="uncited"><div>... and it seems to give some  errors while on other networks it works fine and i cant figure why<br>...</div></blockquote>Addressing only the "why" part - not addressing how to fix it, right now :<br><br><br>I suspect that this experiment on different networks was also done with different bots - not testing the script on same bot by having bot log into each network.<br><br>For the heck of it,  I tried this command in the partyline:<div class="codebox"><p>Code: </p><pre><code>.binds *raw:irc:m* all</code></pre></div>Please try it, and see what you get.   If you're using more than one bot, try it on each bot.<br><br>I tried it on two bots.<br><br>Here's what I got on one:<blockquote class="uncited"><div>&lt;myhandle&gt; .binds *raw:irc:m* all<br>&lt;botnick&gt; [12:03:13] #myhandle# binds *raw:irc:m* all<br>&lt;botnick&gt; Command bindings:<br>&lt;botnick&gt;   TYPE FLAGS    COMMAND              HITS BINDING (TCL)<br>&lt;botnick&gt;   raw  -|-      PRIVMSG                80 *raw:irc:msg<br>&lt;botnick&gt;   raw  -|-      MODE                   18 *raw:irc:mode</div></blockquote>The above was on bot:<blockquote class="uncited"><div>&lt;botnick&gt; I am botnickhere, running eggdrop v1.8.3: 67 users (mem: 193k)</div></blockquote>Next, I tried that command on another bot:<blockquote class="uncited"><div>&lt;myhandle&gt; .binds *raw:irc:m* all<br>&lt;botnick&gt; [14:03:27] #myhandle# binds *raw:irc:m* all<br>&lt;botnick&gt; Command bindings:<br>&lt;botnick&gt;       TYPE FLAGS    COMMAND              HITS BINDING (TCL)<br>&lt;botnick&gt;        raw -|-      MODE                    3 *raw:irc:mode</div></blockquote>This time, this bot is:<blockquote class="uncited"><div>&lt;botnick&gt; I am botnickhere, running eggdrop v1.9.3: 1 user (mem: 263k).</div></blockquote>So -   it appears that command does not exist anymore, on new version of bot.    <br><br>Please let us know if my guess is correct - that you are trying it on two different bots, and if so, what the version numbers of each bot is.   <br><br>Assuming that we now know what is going on - that's the first step.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Now we need to figure out how to get you up and running again.<br>I'm sorry - I don't have the time at the moment to research it further.   I'm posting this because it came to mind, and looks like it might be right, so far -  and thus might help somebody else keep the ball rolling for you.    Maybe I can get back to it later.   <br><br>I hope this helped.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Aug 16, 2022 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-08-16T07:53:07-04:00</updated>

		<published>2022-08-16T07:53:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111290#p111290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111290#p111290"/>
		<title type="html"><![CDATA[make bot blind for color codes and other codes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111290#p111290"><![CDATA[
we are using this small code on dalnet to make bot blind for color codes and other codes and it seems to give some  errors while on other networks it works fine and i cant figure why<br><div class="codebox"><p>Code: </p><pre><code>catch {unbind raw - PRIVMSG *raw:irc:msg}bind raw - PRIVMSG striprivmsgproc striprivmsg {f k a} { set a [string map [list \017 ""] [stripcodes abcgru $a]]  *raw:irc:msg $f $k $a}</code></pre></div><br><br>getting this error :<br><blockquote class="uncited"><div> Tcl error [striprivmsg]: invalid command name "*raw:irc:msg"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Aug 16, 2022 7:53 am</p><hr />
]]></content>
	</entry>
	</feed>
