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

	<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>2005-01-02T09:47:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MnM]]></name></author>
		<updated>2005-01-02T09:47:06-04:00</updated>

		<published>2005-01-02T09:47:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44847#p44847</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44847#p44847"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44847#p44847"><![CDATA[
Thanks for that. I changed the 1 &amp; 2 values to the correct ones and it works a treat <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>I appreciate your quick help. Thanks again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5849">MnM</a> — Sun Jan 02, 2005 9:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-01T14:45:13-04:00</updated>

		<published>2005-01-01T14:45:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44824#p44824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44824#p44824"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44824#p44824"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time - "%0 % % % %" {pub:turlastul x x x #chan {1 2};#}</code></pre></div>this will execute the command every 10 mins and display on #chan results of section 1, amount 2<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jan 01, 2005 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MnM]]></name></author>
		<updated>2005-01-01T14:15:35-04:00</updated>

		<published>2005-01-01T14:15:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44821#p44821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44821#p44821"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44821#p44821"><![CDATA[
ohhh sorry yes here it is:<br><br>bind pub - !info pub:turlastul<br><br>proc pub:turlastul {nick uhost handle chan arg} {<br> putquick "PRIVMSG $chan :Processing info list for..."<br> set binary {/glftpd/bin/tur-lastul.sh}<br> set section [lindex $arg 0]<br> set amount [lindex $arg 1]<br> foreach line [split [exec $binary $section $amount] "\n"] {<br>      putquick "PRIVMSG $chan :$line"<br> }<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5849">MnM</a> — Sat Jan 01, 2005 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-01T14:09:36-04:00</updated>

		<published>2005-01-01T14:09:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44820#p44820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44820#p44820"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44820#p44820"><![CDATA[
okay, but what does that command do? you have the source?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jan 01, 2005 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MnM]]></name></author>
		<updated>2005-01-01T13:58:28-04:00</updated>

		<published>2005-01-01T13:58:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44818#p44818</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44818#p44818"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44818#p44818"><![CDATA[
!info - this is loaded from another tcl script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5849">MnM</a> — Sat Jan 01, 2005 1:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-01T13:57:30-04:00</updated>

		<published>2005-01-01T13:57:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44817#p44817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44817#p44817"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44817#p44817"><![CDATA[
what command do you need to be run?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jan 01, 2005 1:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MnM]]></name></author>
		<updated>2005-01-01T13:52:05-04:00</updated>

		<published>2005-01-01T13:52:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44816#p44816</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44816#p44816"/>
		<title type="html"><![CDATA[Need TCL script to run a command and display result in chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44816#p44816"><![CDATA[
Hello,<br><br>Yes I did try search and found around 4 answers similar to what I am asking here except that they all display text in the chan not the result of a command.<br><br>What I have is a loaded tcl that provides the !info command to eggdrop.<br>Now users can run this manually whenever they want to, however, I really want eggdrop to run this command every 10 minutes and display the result in the channel. I am new to this and after trying for a couple of days I decided to ask the question.<br><br>The following links are the topic that I've found but they didnt work for me (most do put the command in the channel - !info - but eggdrop doesnt do anything with it it almost looks like is treating it as plain text to the chan rather than a command):<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=8760&amp;highlight=run+script+minute" class="postlink">http://forum.egghelp.org/viewtopic.php? ... ipt+minute</a><br><br><a href="http://forum.egghelp.org/viewtopic.php?t=1225&amp;highlight=execute+command" class="postlink">http://forum.egghelp.org/viewtopic.php? ... te+command</a><br><br><a href="http://forum.egghelp.org/viewtopic.php?t=4053&amp;highlight=execute+command" class="postlink">http://forum.egghelp.org/viewtopic.php? ... te+command</a><br><br>Hopefully you guys can help m with this one.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5849">MnM</a> — Sat Jan 01, 2005 1:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
