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

	<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>2009-05-05T16:51:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-05-05T16:51:13-04:00</updated>

		<published>2009-05-05T16:51:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88678#p88678</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88678#p88678"/>
		<title type="html"><![CDATA[Bind Server Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88678#p88678"><![CDATA[
Hi,<br><br>Sorry to tell you, but that's wrong. According to tcl-commands.doc, bind NOTC command will not be triggered by server notices:<br><div class="codebox"><p>Code: </p><pre><code>    (7)  NOTC (stackable)         bind notc &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;text&gt; &lt;dest&gt;         Description: dest will be a nickname (the bot's nickname,           obviously) or a channel name. mask is matched against the entire           notice and can contain wildcards. It is considered a breach of           protocol to respond to a /notice on IRC, so this is intended for           internal use (logging, etc.) only. Note that server notices do|          not trigger the NOTC bind. If the proc returns 1, Eggdrop will|          not log the message that triggered this bind.           New Tcl procs should be declared as             proc notcproc {nick uhost hand text {dest ""}} {               global botnick; if {$dest == ""} {set dest $botnick}               ...             }           for compatibility.         Module: server</code></pre></div>Anyway, I discovered how I can do it. bind raw will solve it.<br><br>Something like:<br><div class="codebox"><p>Code: </p><pre><code>bind raw - "NOTICE" proc</code></pre></div>See ya, and thanks for the help anyway<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Tue May 05, 2009 4:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2009-05-05T13:29:38-04:00</updated>

		<published>2009-05-05T13:29:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88676#p88676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88676#p88676"/>
		<title type="html"><![CDATA[Bind Server Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88676#p88676"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind notc - * myprocproc myproc {nick host handle text} {   putlog "$nick noticed me! (Text: $text)}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Tue May 05, 2009 1:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fill]]></name></author>
		<updated>2009-05-04T13:49:31-04:00</updated>

		<published>2009-05-04T13:49:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=88669#p88669</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=88669#p88669"/>
		<title type="html"><![CDATA[Bind Server Notices]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=88669#p88669"><![CDATA[
Hi scripters,<br><br>I wonder how can I bind snotices? I read tcl-commands.doc and it seems like bind NOTC will not be triggered by servernotices. I have to make a script that is activaterd by a server notice. How can I bind it?<br><br>Thanks in advance,<br>Fill<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10430">Fill</a> — Mon May 04, 2009 1:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
