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

	<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-08T10:28:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-08T10:28:27-04:00</updated>

		<published>2005-01-08T10:28:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45196#p45196</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45196#p45196"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45196#p45196"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require http bind msg - cmd foo proc foo {n u h t} {   set foo1 [lindex [split $t] 0]  set foo2 [lindex [split $t] 1]  set t [::http::geturl http://foo.org/foo.php?foo1=${foo1}&amp;foo2=${foo2}]   foreach line [split [::http::data $t] \n] {puthelp "notice $n :$line"}   ::http::cleanup $t } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Jan 08, 2005 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJ-X-Ray133]]></name></author>
		<updated>2005-01-08T07:48:04-04:00</updated>

		<published>2005-01-08T07:48:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45191#p45191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45191#p45191"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45191#p45191"><![CDATA[
Maybe  i  hsould describe it more:<br> i want that the users that give the bot the command can use two arguments, like<br>!foocmd foo1 foo2<br><br>And then it would go to a homepage like<br><a href="http://foo.org/foo.php?foo1=$foo1&amp;foo2=$foo2" class="postlink">http://foo.org/foo.php?foo1=$foo1&amp;foo2=$foo2</a><br><br>Is that possible????<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5858">DJ-X-Ray133</a> — Sat Jan 08, 2005 7:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJ-X-Ray133]]></name></author>
		<updated>2005-01-05T11:33:41-04:00</updated>

		<published>2005-01-05T11:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44969#p44969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44969#p44969"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44969#p44969"><![CDATA[
Thank you very much it works perfect. But how can I use two or more arguments vor the website like $t???<br><br>Sry, i dont like tcl much, i'd like a php module for eggdrop ^^<br><br>Cya, Dj-X-Ray133<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5858">DJ-X-Ray133</a> — Wed Jan 05, 2005 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-04T21:17:38-04:00</updated>

		<published>2005-01-04T21:17:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44941#p44941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44941#p44941"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44941#p44941"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require http bind msg - cmd foo proc foo {n u h t} {   set t [::http::geturl http://yourURL]   foreach line [split [::http::data $t] \n] {puthelp "notice $n :$line"}   ::http::cleanup $t } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jan 04, 2005 9:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJ-X-Ray133]]></name></author>
		<updated>2005-01-04T20:57:28-04:00</updated>

		<published>2005-01-04T20:57:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44939#p44939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44939#p44939"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44939#p44939"><![CDATA[
It seems to work great, thank you.<br><br>But some people in my channel don't like bots so i decided to let him act by msg and not by public requests. But when I msg the !command the console says:<br><br>[01:55] Tcl error [today]: wrong # args: should be "today n u h c t"<br><br>how can i fix it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5858">DJ-X-Ray133</a> — Tue Jan 04, 2005 8:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-04T18:16:09-04:00</updated>

		<published>2005-01-04T18:16:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44930#p44930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44930#p44930"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44930#p44930"><![CDATA[
try it, changing the URL to yours<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Jan 04, 2005 6:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJ-X-Ray133]]></name></author>
		<updated>2005-01-04T14:23:17-04:00</updated>

		<published>2005-01-04T14:23:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44926#p44926</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44926#p44926"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44926#p44926"><![CDATA[
Hi,<br>I wrote a Script in PHP on my Webserver.<br>The content of this script changes often a day.<br><br>I need a script that gets the content only when its requestet by !foo in a channel. How can i do this???<br><br>Does your Script do this demond?<br><br>Thank you,<br>Dj-X-Ray133<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5858">DJ-X-Ray133</a> — Tue Jan 04, 2005 2:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Astatine]]></name></author>
		<updated>2004-12-19T13:29:44-04:00</updated>

		<published>2004-12-19T13:29:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44171#p44171</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44171#p44171"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44171#p44171"><![CDATA[
Thanks, it works perfectly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5809">Astatine</a> — Sun Dec 19, 2004 1:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-19T12:42:56-04:00</updated>

		<published>2004-12-19T12:42:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44170#p44170</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44170#p44170"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44170#p44170"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !id fooproc foo {n u h c t} {  set t [::http::geturl http://www.domain.com/content.php?id=$t]  foreach line [split [::http::data $t] \n] {puthelp "privmsg $c :$line"}  ::http::cleanup $t}</code></pre></div>you might want to add some error checking to this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 19, 2004 12:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Astatine]]></name></author>
		<updated>2004-12-19T12:22:53-04:00</updated>

		<published>2004-12-19T12:22:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44169#p44169</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44169#p44169"/>
		<title type="html"><![CDATA[Simple read &amp; display webpage script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44169#p44169"><![CDATA[
Hi all, I need help writing a very simple script.  It needs to take a pubic msg from a channel that specifies an id number (such as !id 999) and then grab the contents of a page (such as <a href="http://www.domain.com/content.php?id=999" class="postlink">www.domain.com/content.php?id=999</a>) and display it.  The id number will change and the output of the web page can be very bare, just the needed data.  Can someone help me with this?  Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5809">Astatine</a> — Sun Dec 19, 2004 12:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
