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

	<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>2007-02-16T00:12:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-02-16T00:12:18-04:00</updated>

		<published>2007-02-16T00:12:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70476#p70476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70476#p70476"/>
		<title type="html"><![CDATA[Re: pubm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70476#p70476"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm -|- "% hello there" helloproc hello {nickname hostname handle channel text} {  if {$channel == "#mychan"} {    putquick "PRIVMSG #mychan :Hello welcome to #mychan"  }  # set this to 'return 1' if you don't want the trigger being logged   return 0}</code></pre></div>Should work..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Fri Feb 16, 2007 12:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-02-15T14:07:01-04:00</updated>

		<published>2007-02-15T14:07:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70469#p70469</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70469#p70469"/>
		<title type="html"><![CDATA[pubm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70469#p70469"><![CDATA[
<blockquote class="uncited"><div>    (6)  PUBM (stackable)<br>         bind pubm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>         Description: just like MSGM, except it's triggered by things said<br>           on a channel instead of things /msg'd to the bot. The mask is<br>           matched against the channel name followed by the text and can<br>|          contain wildcards. If the proc returns 1, Eggdrop will not log<br>|          the message that triggered this bind. PUBM binds are processed<br>|          before PUB binds. If the exclusive-binds setting is enabled,<br>|          PUB binds will not be trigged by text that a PUBM bind has<br>|          already handled.<br>         Module: irc</div></blockquote>Obviously, you're missing a variable to handle the &lt;text&gt; argument. Modify your proc-head accordingly.<br><br>Also, as stated above, the mask is matched against "&lt;channel&gt; &lt;text&gt;", so your binding will never trigger. Something like "% sometext" would match "sometext" on any channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Feb 15, 2007 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[crux]]></name></author>
		<updated>2007-02-15T11:59:03-04:00</updated>

		<published>2007-02-15T11:59:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=70467#p70467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=70467#p70467"/>
		<title type="html"><![CDATA[pubm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=70467#p70467"><![CDATA[
this code doesn't work...... <br>I think it's incorrect binding pubm <br>somethings need to do ...<br><br>pls help me to correct..<br><div class="codebox"><p>Code: </p><pre><code>bind pubm -|- "hello there" helloproc hello {nickname hostname handle channel} {  if {[string equal $channel #mychan]} {    putquick "PRIVMSG $channel :Hello welcome to #mychan"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8573">crux</a> — Thu Feb 15, 2007 11:59 am</p><hr />
]]></content>
	</entry>
	</feed>
