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

	<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>2003-01-24T19:04:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-01-24T19:04:58-04:00</updated>

		<published>2003-01-24T19:04:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15772#p15772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15772#p15772"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15772#p15772"><![CDATA[
the bind looks correct, but again read tcl-commands.doc.<br><br>  (4)  PUB<br>       bind pub &lt;flags&gt; &lt;command&gt; &lt;proc&gt;<br>       procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>proc runcmd { nick handle chan text }<br><br>^^<br><br>i bet you can see why this wont work <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=2369">spock</a> — Fri Jan 24, 2003 7:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sirkrunch]]></name></author>
		<updated>2003-01-24T00:25:51-04:00</updated>

		<published>2003-01-24T00:25:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15740#p15740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15740#p15740"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15740#p15740"><![CDATA[
oops some typos<div class="codebox"><p>Code: </p><pre><code> proc runcmd { nick handle chan text } {</code></pre></div>is what i ment<br>so i should use pub like<div class="codebox"><p>Code: </p><pre><code>bind pub - !cmd runcmd</code></pre></div>is that correct?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2010">sirkrunch</a> — Fri Jan 24, 2003 12:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-01-23T22:39:05-04:00</updated>

		<published>2003-01-23T22:39:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15736#p15736</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15736#p15736"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15736#p15736"><![CDATA[
with a pubm bind, it matches the whole line of text.<br><br>with pub: <br>"the first word becomes the command and everything else is the argument string"<br><br>so it just depends how you'd like to use it i guess.<br><br>other than that, i suggest you read tcl-commands.doc again.<br><br>  (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>because i dont think the putserv "PRIVMSG $chan :$output will work in its current state. you forgot a " and $chan isnt valid in this case.<br><br>**EDIT added "will work" so it started making sense hehe :&gt; **<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Thu Jan 23, 2003 10:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sirkrunch]]></name></author>
		<updated>2003-01-23T18:46:41-04:00</updated>

		<published>2003-01-23T18:46:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15726#p15726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15726#p15726"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15726#p15726"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm !cmd - runcmdproc runcmd { nick uhost handle text dest } { set blah { /home/usr/prog/prog prog.cfg } set output [exec $blah] putserv "PRIVMSG $chan :$output }</code></pre></div>is that looking a bit better?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2010">sirkrunch</a> — Thu Jan 23, 2003 6:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-01-23T12:31:21-04:00</updated>

		<published>2003-01-23T12:31:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15710#p15710</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15710#p15710"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15710#p15710"><![CDATA[
you have tp specify what type the bind is.<br><br>they are all listed in doc/tcl-commands.doc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Thu Jan 23, 2003 12:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sirkrunch]]></name></author>
		<updated>2003-01-23T11:16:24-04:00</updated>

		<published>2003-01-23T11:16:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15707#p15707</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15707#p15707"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15707#p15707"><![CDATA[
this is what I have atm <div class="codebox"><p>Code: </p><pre><code>bind !cmd - runcmdproc runcmd { nick uhost handle text dest } {set blah { /home/usr/prog/prog prog.cfg }set output [exec $blah]putserv "PRIVMSG $chan :$output}</code></pre></div>am I on the right track??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2010">sirkrunch</a> — Thu Jan 23, 2003 11:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sirkrunch]]></name></author>
		<updated>2003-01-23T11:00:29-04:00</updated>

		<published>2003-01-23T11:00:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15706#p15706</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15706#p15706"/>
		<title type="html"><![CDATA[running files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15706#p15706"><![CDATA[
i'm pretty new to tcl and i want to write a script to run a file<br>what commands and how do I go about it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2010">sirkrunch</a> — Thu Jan 23, 2003 11:00 am</p><hr />
]]></content>
	</entry>
	</feed>
