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

	<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>2006-06-13T06:37:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-13T06:37:05-04:00</updated>

		<published>2006-06-13T06:37:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63973#p63973</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63973#p63973"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63973#p63973"><![CDATA[
I don't want to destroy this great idea... I haven't thought on using the vars directly till now and I am sure you can make very simple scripts with it, but wouldn't a:<br><div class="codebox"><p>Code: </p><pre><code>bind PUB n|-  ${trigger}join dojoinbind MSG n  ${trigger}join dojoinproc dojoin {nickname uhost hand args} {   if {[validchan [set channel [lindex $args end]]] || $channel == ""} {...</code></pre></div>be also very simple and short in that particular case? <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=2382">De Kus</a> — Tue Jun 13, 2006 6:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-06-12T08:50:48-04:00</updated>

		<published>2006-06-12T08:50:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63927#p63927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63927#p63927"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63927#p63927"><![CDATA[
Excellent documentation, I didn't know you can do that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_exclaim.gif" width="15" height="15" alt=":!:" title="Exclamation"> <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=3085">Sir_Fz</a> — Mon Jun 12, 2006 8:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarkerJr]]></name></author>
		<updated>2006-06-11T22:52:04-04:00</updated>

		<published>2006-06-11T22:52:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63915#p63915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63915#p63915"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63915#p63915"><![CDATA[
Thanks.  I wrote a document about it tonight... <a href="http://barkerjr.net/irc/eggdrop/Scripting/Binds" class="postlink">http://barkerjr.net/irc/eggdrop/Scripting/Binds</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2933">BarkerJr</a> — Sun Jun 11, 2006 10:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-06-11T22:24:30-04:00</updated>

		<published>2006-06-11T22:24:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63914#p63914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63914#p63914"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63914#p63914"><![CDATA[
a wonderful example of using eggdrop's hardcoded argument names<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Jun 11, 2006 10:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BarkerJr]]></name></author>
		<updated>2006-06-11T17:49:20-04:00</updated>

		<published>2006-06-11T17:49:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63908#p63908</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63908#p63908"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63908#p63908"><![CDATA[
Here ya go...<br><div class="codebox"><p>Code: </p><pre><code>bind PUB n|-  ${trigger}join {dojoin $_pub1 $_pub5; #}bind MSG n|-  ${trigger}join {dojoin $_msg1 $_msg4; #}proc dojoin {nickname channel} {  if {![llength [split $channel]] || [validchan [set channel [lindex [split $channel] 0]]]} {    putserv "NOTICE $nickname :Please use $::lastbind #channel"  } else {    channel add $channel  }}</code></pre></div>What you see as the last argument of the bind is like an anonymous function.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2933">BarkerJr</a> — Sun Jun 11, 2006 5:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2006-05-26T09:52:11-04:00</updated>

		<published>2006-05-26T09:52:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63419#p63419</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63419#p63419"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63419#p63419"><![CDATA[
<blockquote class="uncited"><div>Sorry for such a late reply, hadn't had time to check it out.. it still doesn't work it wont respond via PM</div></blockquote>Do you expect <div class="codebox"><p>Code: </p><pre><code>putserv "NOTICE $nickname :Please use $::lastbind #channel"</code></pre></div> to result in a PRIVMSG? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri May 26, 2006 9:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dq]]></name></author>
		<updated>2006-05-26T09:23:45-04:00</updated>

		<published>2006-05-26T09:23:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63414#p63414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63414#p63414"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63414#p63414"><![CDATA[
Sorry for such a late reply, hadn't had time to check it out.. it still doesn't work it wont respond via PM<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7571">dq</a> — Fri May 26, 2006 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-05T19:15:09-04:00</updated>

		<published>2006-05-05T19:15:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62658#p62658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62658#p62658"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62658#p62658"><![CDATA[
The way your proc is written, yes it can work. And if you want to learn about Eggdrop binds, read Tcl-commands.doc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 05, 2006 7:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dq]]></name></author>
		<updated>2006-05-05T12:09:28-04:00</updated>

		<published>2006-05-05T12:09:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62647#p62647</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62647#p62647"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62647#p62647"><![CDATA[
lol.. thanks<br><br>gotta learn somewhere ;p<br><br>EDIT: Can it work for both pub and msg?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7571">dq</a> — Fri May 05, 2006 12:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-05T11:56:09-04:00</updated>

		<published>2006-05-05T11:56:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62644#p62644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62644#p62644"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62644#p62644"><![CDATA[
Change <strong class="text-strong">PUB</strong> to <strong class="text-strong">MSG</strong>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 05, 2006 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dq]]></name></author>
		<updated>2006-05-05T11:37:36-04:00</updated>

		<published>2006-05-05T11:37:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62643#p62643</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62643#p62643"/>
		<title type="html"><![CDATA[PM?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62643#p62643"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind PUB n|-  ${trigger}join  pub:joinproc pub:join {nickname hostname handle channel arguments} {  if {![llength [split $arguments]] || [validchan [set channel [lindex [split $arguments] 0]]]} {    putserv "NOTICE $nickname :Please use $::lastbind #channel"  } else {    channel add $channel  }}</code></pre></div>@Join #Channel, if the owner displays that command in a public channel the bot will obey, however is it possible to pm the bot with the @join command and it will obey?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7571">dq</a> — Fri May 05, 2006 11:37 am</p><hr />
]]></content>
	</entry>
	</feed>
