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

	<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-12-26T07:33:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[lebjustice]]></name></author>
		<updated>2007-12-26T07:33:08-04:00</updated>

		<published>2007-12-26T07:33:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79544#p79544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79544#p79544"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79544#p79544"><![CDATA[
How to make this auto check every 1 min the txt and if any 1line or 2 lines is been changed it will be auto posted in the chan. thanks<br><div class="codebox"><p>Code: </p><pre><code>package require http bind pub - !test foo proc foo {n u h c t} {    set x [::http::geturl http://bar.com/moo.txt]    foreach e [split [::http::data $x] \n] {puthelp "privmsg $c :$e"}    ::http::cleanup $x } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9073">lebjustice</a> — Wed Dec 26, 2007 7:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NTHosts]]></name></author>
		<updated>2005-11-06T19:38:09-04:00</updated>

		<published>2005-11-06T19:38:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57140#p57140</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57140#p57140"/>
		<title type="html"><![CDATA[yay]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57140#p57140"><![CDATA[
Thanks guys, works great now <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=6839">NTHosts</a> — Sun Nov 06, 2005 7:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-06T18:55:10-04:00</updated>

		<published>2005-11-06T18:55:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57135#p57135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57135#p57135"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57135#p57135"><![CDATA[
You forgot to close the open brace of the foo proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Nov 06, 2005 6:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2005-11-06T18:56:51-04:00</updated>

		<published>2005-11-06T18:42:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57133#p57133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57133#p57133"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57133#p57133"><![CDATA[
You need to change proc names aswell.<br><br>Script should look like this then:<br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !triger1 foobind pub - !triger2 foo2proc foo {n u h c t} {   set x [::http::geturl http://bar.com/moo1.txt]   foreach e [split [::http::data $x] \n] {puthelp "privmsg $c :$e"}   ::http::cleanup $x}proc foo2 {n u h c t} {   set x [::http::geturl http://bar.com/moo2.txt]   foreach e [split [::http::data $x] \n] {puthelp "privmsg $c :$e"}   ::http::cleanup $x} </code></pre></div>// Thanks Sir_Fz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Sun Nov 06, 2005 6:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NTHosts]]></name></author>
		<updated>2005-10-23T07:42:21-04:00</updated>

		<published>2005-10-23T07:42:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56771#p56771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56771#p56771"/>
		<title type="html"><![CDATA[ermmmmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56771#p56771"><![CDATA[
Hello, <br><br>that script works fine if you are using just 1.<br><br>I tried 2 use a few of them 2 grab different txt files, however it just keeps on grabbing the same txt file and ignoring the rest... yes i am changing the !trigger and changing the url of the file..<br>Very confused... plz help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">:D:D:D<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6839">NTHosts</a> — Sun Oct 23, 2005 7:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-25T14:41:49-04:00</updated>

		<published>2005-09-25T14:41:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56094#p56094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56094#p56094"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56094#p56094"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !test fooproc foo {n u h c t} {   set x [::http::geturl http://bar.com/moo.txt]   foreach e [split [::http::data $x] \n] {puthelp "privmsg $c :$e"}   ::http::cleanup $x}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Sep 25, 2005 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cBuster]]></name></author>
		<updated>2005-09-25T13:13:55-04:00</updated>

		<published>2005-09-25T13:13:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56091#p56091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56091#p56091"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56091#p56091"><![CDATA[
bind pub - !tmp pub:tmp<br><br>proc pub:tmp {nick uhost hand chan text} {<br>  if ![channel get $chan tmp] return <br>  set url "http://***.****/***.txt"<br>}<br><br>Something like that?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6755">cBuster</a> — Sun Sep 25, 2005 1:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-22T23:26:49-04:00</updated>

		<published>2005-09-22T23:26:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56010#p56010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56010#p56010"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56010#p56010"><![CDATA[
hey this was in Script Help forum! wasn't it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Sep 22, 2005 11:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cBuster]]></name></author>
		<updated>2005-09-22T11:51:46-04:00</updated>

		<published>2005-09-22T11:51:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56004#p56004</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56004#p56004"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56004#p56004"><![CDATA[
<blockquote class="uncited"><div>read the file into a list, bind to pub command and when that bind triggers, foreach element in your list putserv notice to the nick that issued command</div></blockquote>I don't know a [censored] about .tcl. So I don't understand anything about what you said, hehe.<br><br>I thought a script like that was so simple to do that you had time to make one for me. It will take me like one week before I can do it myself. Don't have that much time so I hope a kind soul in here can help me out...  <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=6755">cBuster</a> — Thu Sep 22, 2005 11:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-22T11:35:13-04:00</updated>

		<published>2005-09-22T11:35:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56003#p56003</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56003#p56003"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56003#p56003"><![CDATA[
read the file into a list, bind to pub command and when that bind triggers, foreach element in your list putserv notice to the nick that issued command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Sep 22, 2005 11:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cBuster]]></name></author>
		<updated>2005-09-22T11:26:16-04:00</updated>

		<published>2005-09-22T11:26:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56002#p56002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56002#p56002"/>
		<title type="html"><![CDATA[Read .txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56002#p56002"><![CDATA[
Hi!<br><br>Anyone who can tell me how to make a .tcl-script that just announce everything that stands in a .txt?<br><br>Lets say that I want my bot to announce everything that stands in <a href="http://xxx.xxxx.com/test.txt" class="postlink">http://xxx.xxxx.com/test.txt</a> when I type !test<br><br>Anyone want do to a script like that for me?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>*EDIT*<br><br>Forgot to say that I want the bot to notice the "results" for the one who typed the command. Not to all in chan or private-msg.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6755">cBuster</a> — Thu Sep 22, 2005 11:26 am</p><hr />
]]></content>
	</entry>
	</feed>
