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

	<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>2019-08-16T20:34:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2019-08-16T20:34:54-04:00</updated>

		<published>2019-08-16T20:34:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107753#p107753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107753#p107753"/>
		<title type="html"><![CDATA[Connect to website and retrieve a line of text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107753#p107753"><![CDATA[
Ok. Odd. When you pop in <a href="https://www.websitename.com" class="postlink">https://www.websitename.com</a><br><br>It start's spewing out the pages entire source code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Fri Aug 16, 2019 8:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominatez]]></name></author>
		<updated>2019-08-16T18:05:36-04:00</updated>

		<published>2019-08-16T18:05:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107752#p107752</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107752#p107752"/>
		<title type="html"><![CDATA[Connect to website and retrieve a line of text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107752#p107752"><![CDATA[
Is there any chance you could get this working again Caeser ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12783">Dominatez</a> — Fri Aug 16, 2019 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kerum]]></name></author>
		<updated>2013-01-11T12:31:35-04:00</updated>

		<published>2013-01-11T12:31:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100566#p100566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100566#p100566"/>
		<title type="html"><![CDATA[Connect to website and retrieve a line of text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100566#p100566"><![CDATA[
Thanks. I'll test it now.<br>I'm a newbie to all this... I put that code into web.tcl, right?<br><br>EDIT: Thank you!!! It works perfectly <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> Thanks again!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12174">kerum</a> — Fri Jan 11, 2013 12:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-01-11T12:23:09-04:00</updated>

		<published>2013-01-11T12:23:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100565#p100565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100565#p100565"/>
		<title type="html"><![CDATA[Connect to website and retrieve a line of text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100565#p100565"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !webreq my:webreqproc my:webreq {nick uhost hand chan text} {if {[scan $text {%s} url] != 1} {puthelp "NOTICE $nick :Error, correct syntax is: !webreq &lt;url&gt;"return}set token [::http::geturl $url]set content [::http::data $token]::http::cleanup $contentforeach line [split $content \n] {puthelp "PRIVMSG $chan :$line"}}</code></pre></div>Here's something simple that should do what you need.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jan 11, 2013 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kerum]]></name></author>
		<updated>2013-01-11T10:10:36-04:00</updated>

		<published>2013-01-11T10:10:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100563#p100563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100563#p100563"/>
		<title type="html"><![CDATA[Connect to website and retrieve a line of text]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100563#p100563"><![CDATA[
Hello everyone. I need a script for eggdrop that will let me make eggdrop go to a website and retrieve the text from it.<br><br>The website is a simple PHP script that echoes only one line of text. Now, I would like eggdrop to go there and write back that line of text in the IRC channel. It would look like this:<br><blockquote class="uncited"><div>&lt;me&gt; !webreq <a href="http://domain.com/script.php" class="postlink">http://domain.com/script.php</a><br>&lt;eggdrop&gt; Your text is this and that.</div></blockquote>Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12174">kerum</a> — Fri Jan 11, 2013 10:10 am</p><hr />
]]></content>
	</entry>
	</feed>
