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

	<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>2011-09-23T11:28:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demetrius_reis]]></name></author>
		<updated>2011-09-23T11:28:03-04:00</updated>

		<published>2011-09-23T11:28:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97767#p97767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97767#p97767"/>
		<title type="html"><![CDATA[receive notice via spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97767#p97767"><![CDATA[
oks, I'll try the news, thanks for the help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11312">demetrius_reis</a> — Fri Sep 23, 2011 11:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-09-23T10:18:36-04:00</updated>

		<published>2011-09-23T10:18:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97766#p97766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97766#p97766"/>
		<title type="html"><![CDATA[receive notice via spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97766#p97766"><![CDATA[
I suppose you're looking for the "notc" and "ctcp" bindings...<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    (15) CTCP (stackable)         bind ctcp &lt;flags&gt; &lt;keyword&gt; &lt;proc&gt;         proc-name &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;dest&gt; &lt;keyword&gt; &lt;text&gt;         Description: dest will be a nickname (the bot's nickname, obviously)           or channel name. keyword is the ctcp command (which can contain           wildcards), and text may be empty. If the proc returns 0, the bot           will attempt its own processing of the ctcp command.         Module: server</code></pre></div>Since these bindings provide different sets of parameters, you'll have to adopt your procs accordingly; either making one proc for each kind of binding, or altering your proc to support optional or arbitrary arguments. I'd generally suggest you go for the first option.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Sep 23, 2011 10:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demetrius_reis]]></name></author>
		<updated>2011-09-23T00:42:05-04:00</updated>

		<published>2011-09-23T00:42:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97763#p97763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97763#p97763"/>
		<title type="html"><![CDATA[receive notice via spam]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97763#p97763"><![CDATA[
The bot is not getting spam via ctcp or notice and, as I use this same script using the two options or two scripts in order to receive the notice via spam in the channel?<div class="codebox"><p>Code: </p><pre><code>#Canal onde o bot ira avisar sobre SPAMs set canal "#age_2_ops"bind msgm -|- *www* malwarebind msgm -|- *http* malwarebind msgm -|- *xit* malwarebind msgm -|- *cheat* malwareproc malware {mad7684 mad8594 mad873 mad8954} {    global canalputquick "PRIVMSG #age_2_ops :cbrr Nick: $mad7684 Host: 14$mad8594 Tipo de SPAM: 14Home Page Msg: 2$mad8954"}putlog "spam.tcl"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11312">demetrius_reis</a> — Fri Sep 23, 2011 12:42 am</p><hr />
]]></content>
	</entry>
	</feed>
