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

	<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>2004-06-19T08:28:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-19T08:28:44-04:00</updated>

		<published>2004-06-19T08:28:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37590#p37590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37590#p37590"/>
		<title type="html"><![CDATA[Is there a bind for private actions?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37590#p37590"><![CDATA[
Ah thanx... thats a smiliar kind logic I use to differentiate between private notices and channel notices.<br><br>For private notices something like:<br><div class="codebox"><p>Code: </p><pre><code>if {($dest == $botnick)} {......................}</code></pre></div><br>And maybe for channels the same like:<br><div class="codebox"><p>Code: </p><pre><code>if {($dest != $botnick) &amp;&amp; (string match -nocase "#*" $dest)} {......................}</code></pre></div>Thanx I'll give it a try and let you know!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sat Jun 19, 2004 8:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-06-18T14:32:47-04:00</updated>

		<published>2004-06-18T14:32:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37561#p37561</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37561#p37561"/>
		<title type="html"><![CDATA[Is there a bind for private actions?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37561#p37561"><![CDATA[
You can bind to the ctcp action event, but check the destination if it's a channel or a nick.<br><br>Borrowed from <a href="http://www.baschny.de/eggdrop/faq/faq-f.html" class="postlink">http://www.baschny.de/eggdrop/faq/faq-f.html</a><br><div class="codebox"><p>Code: </p><pre><code>bind ctcp - "ACTION" action_proc</code></pre></div>Sent to the bot privately:<div class="codebox"><p>Code: </p><pre><code>proc action_bind { nick uhost hand dest keyword text } {  if {[string index $dest 0] == "#"} { return 0 }...}</code></pre></div>Sent to a channel:<div class="codebox"><p>Code: </p><pre><code>proc action_bind { nick uhost hand dest keyword text } {  if {[string index $dest 0] != "#"} { return 0 }...}</code></pre></div><p>Statistics: Posted by Guest — Fri Jun 18, 2004 2:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-18T13:24:42-04:00</updated>

		<published>2004-06-18T13:24:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37558#p37558</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37558#p37558"/>
		<title type="html"><![CDATA[Is there a bind for private actions?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37558#p37558"><![CDATA[
We all know to trigger an action (/me) in<br>a channel we can use a bind like:<br><div class="codebox"><p>Code: </p><pre><code>bind ctcp - ACTION my:procedure:here</code></pre></div>And we also know to trigger a message in<br>private, with a bind like:<br><div class="codebox"><p>Code: </p><pre><code>bind msgm - * my:procedure:here</code></pre></div><br>But is there a bind... or can we create a bind<br>similarly for a PRIVATE ACTION? (in query)<br><br>If anybody here knows please let me know.<br>I am creating a private spam detector script<br>I have binded for private messages and private<br>notices but don't have any idea for private actions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Jun 18, 2004 1:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
