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

	<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>2004-03-17T09:21:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-17T09:21:21-04:00</updated>

		<published>2004-03-17T09:21:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34713#p34713</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34713#p34713"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34713#p34713"><![CDATA[
Hallo, how about without using trigger? Could someone tell me how? The bot will just randomly select 2 lines of text in the file within 20 or 30 minutes each...<br><br>Thanks in advance<p>Statistics: Posted by Guest — Wed Mar 17, 2004 9:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-14T06:09:01-04:00</updated>

		<published>2004-03-14T06:09:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34585#p34585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34585#p34585"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34585#p34585"><![CDATA[
I figured it out<br><br>  set token [::http::geturl $myurl?username=$text]<br><br>this would let me add the $args part and return a value to the channel based on !request input.<p>Statistics: Posted by Guest — Sun Mar 14, 2004 6:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-03-14T03:00:00-04:00</updated>

		<published>2004-03-14T03:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34582#p34582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34582#p34582"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34582#p34582"><![CDATA[
Can you be more precisly what you mean? I fail to understand.. <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=187">caesar</a> — Sun Mar 14, 2004 3:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-13T22:07:26-04:00</updated>

		<published>2004-03-13T22:07:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34578#p34578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34578#p34578"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34578#p34578"><![CDATA[
That works great, final question:<br><br>[03:06] &lt;@floris&gt; !argh 1<br>[03:06] &lt;+network&gt;  startstop<br><br>How can I set the 1 ?<br><br>so it can do <a href="http://www.site.com/file.php?blah=1" class="postlink">www.site.com/file.php?blah=1</a> (blah = $argh)<br><br>I hope you understand.<p>Statistics: Posted by Guest — Sat Mar 13, 2004 10:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-13T21:19:36-04:00</updated>

		<published>2004-03-13T21:19:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34577#p34577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34577#p34577"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34577#p34577"><![CDATA[
<blockquote class="uncited"><div>If I want the whole $content to be posted in the channel i just do a privmsg #channel :$content<br><br>?</div></blockquote><br>blablabla.....<br>http::cleanup $data <br>  <br>putserv "PRIVMSG $chan : $content"<br> <br>} <br><br><br><br>i think <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Sat Mar 13, 2004 9:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-13T19:03:54-04:00</updated>

		<published>2004-03-13T19:03:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34576#p34576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34576#p34576"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34576#p34576"><![CDATA[
If I want the whole $content to be posted in the channel i just do a privmsg #channel :$content<br><br>?<p>Statistics: Posted by Guest — Sat Mar 13, 2004 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-13T19:01:47-04:00</updated>

		<published>2004-03-13T19:01:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34575#p34575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34575#p34575"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34575#p34575"><![CDATA[
thx m8<br>appreciate it!<p>Statistics: Posted by Guest — Sat Mar 13, 2004 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-03-13T17:34:41-04:00</updated>

		<published>2004-03-13T17:34:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34572#p34572</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34572#p34572"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34572#p34572"><![CDATA[
Here is an short example on fetching some information from an certain web page via the http package. It should be installed by default in TCL 8.3 (at least at me is).<div class="codebox"><p>Code: </p><pre><code>set myurl www.bla.compackage require httpbind pub - !news my:newsproc my:news {nick uhost hand chan text} {  global myurl  set token [::http::geturl $myurl]  set content [::http::data $token]  ::http::cleanup $content  # and now extract from $content only the stuff you want and do whatever you want with it.}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Mar 13, 2004 5:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-13T14:25:31-04:00</updated>

		<published>2004-03-13T14:25:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34567#p34567</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34567#p34567"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34567#p34567"><![CDATA[
guess im not the only noob here :)<br>anyway, took a look at google.tcl and news updaters tcl scripts, how they grab stuff from a html or php page, but looks so complicated.<br>Was wondering, what would the tcl be<br>if lets say... <a href="http://www.blablabla.com" class="postlink">www.blablabla.com</a> was just saying : Under Construction<br>on the frontpage, and when i do !blablabla , it will look at <a href="http://www.blablabla.com" class="postlink">www.blablabla.com</a> and gives as output in channel: Under Construction<br>as well :s<br>Any help like a simple example.tcl would be appreciated :s<br>thx in advance<br>regards,<br>hansje<p>Statistics: Posted by Guest — Sat Mar 13, 2004 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-09T06:06:07-04:00</updated>

		<published>2004-03-09T06:06:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34375#p34375</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34375#p34375"/>
		<title type="html"><![CDATA[let the bot parse to channel the complete source of a page]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34375#p34375"><![CDATA[
Hi there,<br><br>I am really confused at how simple this is and still not being able to process this.<br><br>What I want:<br><br><br>&lt;user&gt; !data 15<br><br>[bot now goes to <a href="http://site.com/file.php?data=15" class="postlink">http://site.com/file.php?data=15</a>]<br>[bot reads the COMPLETE page result and pastes in the channel]<br><br>&lt;bot&gt; Date: 15 == &lt;result&gt;<br><br><br>I noticed with google.tcl you can search for some string and regex out the middle and paste that, but even if I modify that, it always returns a 0.<br><br>I think I am better of with a script that parses on the &lt;user&gt; variable and reads out the whole content of that page (which is blank with just one or a few lines of results).<br><br><br>Would be great if someone has a default script for this or can explain to me in n00b steps what to do.<p>Statistics: Posted by Guest — Tue Mar 09, 2004 6:06 am</p><hr />
]]></content>
	</entry>
	</feed>
