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

	<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-03-11T21:07:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-03-11T21:07:11-04:00</updated>

		<published>2007-03-11T21:07:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71176#p71176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71176#p71176"/>
		<title type="html"><![CDATA[bind for msg instead of pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71176#p71176"><![CDATA[
Ohh duh at me, I forgot.. works now thanks  <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=7220">cache</a> — Sun Mar 11, 2007 9:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-03-11T21:03:32-04:00</updated>

		<published>2007-03-11T21:03:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71175#p71175</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71175#p71175"/>
		<title type="html"><![CDATA[bind for msg instead of pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71175#p71175"><![CDATA[
Tcl-commands.doc:<blockquote class="uncited"><div>MSG<br>bind msg &lt;flags&gt; &lt;command&gt; &lt;proc&gt;<br>procname <strong class="text-strong">&lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;text&gt;</strong><br><br>Description: used for /msg commands. The first word of the user's<br>msg is the command, and everything else becomes the text argument.</div></blockquote>Notice how there's no &lt;chan&gt; argument passed to a msg-bind proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Mar 11, 2007 9:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2007-03-11T20:21:24-04:00</updated>

		<published>2007-03-11T20:21:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71174#p71174</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71174#p71174"/>
		<title type="html"><![CDATA[bind for msg instead of pub]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71174#p71174"><![CDATA[
I'm trying to get a command to work via PM instead of main room.. I tried changing pub to msg since thats how i see the samples in other scripts...<br><br>I have:<div class="codebox"><p>Code: </p><pre><code>#set usedcmds69 [expr {[unixtime]-3}] bind msg - !69 cmds69 proc cmds69 {nick uhost hand chan arg} {  global usedcmds69  if {[set t [expr {[unixtime]-$usedcmds69}]] &lt; 3} {   putquick "NOTICE $nick :You have to wait [expr {3-$t}] sec(s) before you can use this command."  return 0  }   if {$arg == ""} {    putserv "NOTICE $nick :Usage: !69 &lt;who&gt;"    return 0 }  set usedcmds69 [unixtime]  set 69who [lrange $arg 0 end] putquick "privmsg $nick :\001ACTION $69who blah blah\001" } #</code></pre></div>But when I try that I get this error:<div class="codebox"><p>Code: </p><pre><code>[20:09] Tcl error [cmd69]: wrong # args: should be "cmd69 nick uhost hand chan arg"</code></pre></div>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Mar 11, 2007 8:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
