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

	<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-01-23T06:51:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2009-01-23T06:51:32-04:00</updated>

		<published>2009-01-23T06:51:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87083#p87083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87083#p87083"/>
		<title type="html"><![CDATA[Bind msg input to be a string?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87083#p87083"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm - "* $love" pub:love </code></pre></div>not that different as you see<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jan 23, 2009 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flufsor]]></name></author>
		<updated>2009-01-22T22:11:55-04:00</updated>

		<published>2009-01-22T22:11:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87080#p87080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87080#p87080"/>
		<title type="html"><![CDATA[Bind msg input to be a string?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87080#p87080"><![CDATA[
Still don't get it, could you post an example maybe ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10445">flufsor</a> — Thu Jan 22, 2009 10:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2009-01-22T20:59:04-04:00</updated>

		<published>2009-01-22T20:59:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87079#p87079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87079#p87079"/>
		<title type="html"><![CDATA[Bind msg input to be a string?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87079#p87079"><![CDATA[
we all have to start somewhere <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>I suggest taking a look at the tcl-commands.doc that comes with your eggdrop.. lot's of nice commands in there, one you might find interesting is <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>one thing though:<div class="codebox"><p>Code: </p><pre><code>proc pub:love {nick uhost hand chan args} { </code></pre></div> <em class="text-italics">args</em> has a special meaning in tcl and I would us something like <em class="text-italics">arg</em> or <em class="text-italics">text</em> until you have properly learned how to handle args. <br>It will make no difference on your script since you are not using args further anyway, but keep it in mind if you should continue writing scripts<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Jan 22, 2009 8:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[flufsor]]></name></author>
		<updated>2009-01-22T20:33:26-04:00</updated>

		<published>2009-01-22T20:33:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87078#p87078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87078#p87078"/>
		<title type="html"><![CDATA[Bind msg input to be a string?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87078#p87078"><![CDATA[
Hi,<br>I am trying to get my first script ready but i can't,<br>could use some help its probably very stupid.<br><div class="codebox"><p>Code: </p><pre><code>set love "Do you love me Faith?"bind pub - $love pub:loveproc pub:love {nick uhost hand chan args} {puthelp "PRIVMSG $chan :I love you so hard $nick, you sexy beast !!!"}</code></pre></div>I just want the bot to respond on the string Do you love me Faith?<br>But i have no idea how <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>help a newby <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=10445">flufsor</a> — Thu Jan 22, 2009 8:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
