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

	<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>2014-11-20T14:55:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2014-11-20T14:55:51-04:00</updated>

		<published>2014-11-20T14:55:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103335#p103335</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103335#p103335"/>
		<title type="html"><![CDATA[Prevent more than one bind to be triggered]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103335#p103335"><![CDATA[
Great, glad you worked it out. <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=187">caesar</a> — Thu Nov 20, 2014 2:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CP1832]]></name></author>
		<updated>2014-11-20T11:45:36-04:00</updated>

		<published>2014-11-20T11:45:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103334#p103334</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103334#p103334"/>
		<title type="html"><![CDATA[Prevent more than one bind to be triggered]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103334#p103334"><![CDATA[
Thanks caesar, I kind of used your code for inspiration to avoid any of my pub binds.<div class="codebox"><p>Code: </p><pre><code>if {[string index $text 0] eq "!"} { return }if {[string index $text 0] eq "."} { return }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12450">CP1832</a> — Thu Nov 20, 2014 11:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2014-11-19T15:28:13-04:00</updated>

		<published>2014-11-19T15:28:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103332#p103332</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103332#p103332"/>
		<title type="html"><![CDATA[Prevent more than one bind to be triggered]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103332#p103332"><![CDATA[
According to TCL Commands.doc file that comes with the eggdrop, and I quote:<blockquote class="uncited"><div>PUBM binds are processed before PUB binds.</div></blockquote>This means that you can do what you wanted by changing the url title grabber script to "ignore" (return) when the line that normally would trigger it if the line starts with "!msg" for instance.<br><br>Something like:<div class="codebox"><p>Code: </p><pre><code>if {[string first "!msg" [string tolower $line]] != -1} return</code></pre></div>If you need further assistance post. <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=187">caesar</a> — Wed Nov 19, 2014 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CP1832]]></name></author>
		<updated>2014-11-19T11:22:02-04:00</updated>

		<published>2014-11-19T11:22:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=103329#p103329</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=103329#p103329"/>
		<title type="html"><![CDATA[Prevent more than one bind to be triggered]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=103329#p103329"><![CDATA[
Is there any way to process pub binds before pubm binds? Also, is there any way to prevent a pubm to be triggered after a pub trigger has been triggered? For instance, I have a URL title grabber tcl and a message tcl. If I leave a message which includes a URL, I don't want the title grabber to be triggered. For instance:<br>&lt;dude&gt; !msg walter <a href="http://www.somelink.com" class="postlink">http://www.somelink.com</a><br>&lt;bot&gt; URL title: http://www.somelink.com's title &lt;- IT HAPPENS, BUT IT'S NOT WANTED<br>&lt;bot&gt; Message for walter accepted<br>Can this be done?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12450">CP1832</a> — Wed Nov 19, 2014 11:22 am</p><hr />
]]></content>
	</entry>
	</feed>
