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

	<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>2008-03-09T23:56:39-04:00</updated>

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

		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T23:56:39-04:00</updated>

		<published>2008-03-09T23:56:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81595#p81595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81595#p81595"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81595#p81595"><![CDATA[
thx alot it work...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 11:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-03-09T23:12:08-04:00</updated>

		<published>2008-03-09T23:12:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81594#p81594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81594#p81594"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81594#p81594"><![CDATA[
The custom mode "serverinfo" needs to be created first:<br>Add this to the beginning of the script:<div class="codebox"><p>Code: </p><pre><code>setudef flag serverinfo</code></pre></div>And I belive the "- each channel" and "- all channels" were intended as comments, rather than actually being part of the commandline.<br><br>Simply, to activate it on #thechannel, type this in dcc chat:<div class="codebox"><p>Code: </p><pre><code>.chanset #thechannel +serverinfo</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Mar 09, 2008 11:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T23:01:01-04:00</updated>

		<published>2008-03-09T23:01:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81593#p81593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81593#p81593"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81593#p81593"><![CDATA[
huh why like this?<br><blockquote class="uncited"><div>&lt;PisangGoreng&gt; .chanset #pisangx +serverinfo - each channel <br>&lt;(PisangX&gt; Error trying to set +serverinfo for #pisangx, invalid mode.<br>&lt;(PisangX&gt; Error trying to set - for #pisangx, invalid mode.<br>&lt;(PisangX&gt; Error trying to set each for #pisangx, invalid option</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 11:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-09T23:20:29-04:00</updated>

		<published>2008-03-09T22:23:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81591#p81591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81591#p81591"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81591#p81591"><![CDATA[
<blockquote class="uncited"><div>1 more question ..<br><br>how to adversite that only for one channel ..</div></blockquote>Use the modified code in my post, and use chanset to enable/disable.<br><br>enable<br>.chanset #yourchan +serverinfo (for each channel)<br>-- or --<br>.chanset * +serverinfo (for all channels)<br><br>disable<br>.chanset #yourchan -serverinfo (for each channel)<br>-- or --<br>.chanset * -serverinfo (for all channels)<br><br>Edit: Clarity, one of my shortcomings. Thanks as well to nml for his reminder that a flag is required.. heh<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Mar 09, 2008 10:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T22:02:44-04:00</updated>

		<published>2008-03-09T22:02:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81590#p81590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81590#p81590"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81590#p81590"><![CDATA[
1 more question ..<br><br>how to adversite that only for one channel ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 10:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T21:59:21-04:00</updated>

		<published>2008-03-09T21:59:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81589#p81589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81589#p81589"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81589#p81589"><![CDATA[
IT WORKS..<br>THX ALOT TO YOU !!!<br>I'm Grateful u help me....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 9:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-09T21:55:34-04:00</updated>

		<published>2008-03-09T21:55:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81588#p81588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81588#p81588"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81588#p81588"><![CDATA[
<blockquote class="uncited"><div>eggdrop v1.6.18 ?? isn't a new version ??</div></blockquote>Somehow your doing something terribly wrong. When you figure out what that is, come back and retry the working script I posted for you...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Mar 09, 2008 9:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T21:54:27-04:00</updated>

		<published>2008-03-09T21:54:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81587#p81587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81587#p81587"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81587#p81587"><![CDATA[
eggdrop v1.6.18 ?? isn't a new version ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 9:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-09T21:52:42-04:00</updated>

		<published>2008-03-09T21:52:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81586#p81586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81586#p81586"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81586#p81586"><![CDATA[
<blockquote class="uncited"><div>erm...<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br>please help me.. u use own shell or you buy other ppl shell ?</div></blockquote>it works on either the shells I use or my windrop, I don't understand what your doing wrong.. Use an up-to-date current eggdrop and tcl 8.4.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Mar 09, 2008 9:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T21:50:29-04:00</updated>

		<published>2008-03-09T21:50:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81585#p81585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81585#p81585"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81585#p81585"><![CDATA[
erm...<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br>please help me.. u use own shell or you buy other ppl shell ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 9:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-09T21:45:25-04:00</updated>

		<published>2008-03-09T21:45:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81584#p81584</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81584#p81584"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81584#p81584"><![CDATA[
<blockquote class="uncited"><div>it said that <br><blockquote class="uncited"><div>[01:33] wrong # args: should be "proc name args body"<br>    while executing<br>"proc checkserver {nick host hand chan rest} {<br>      # browser agent<br>      set http [::http::config -useragent "Mozilla"]<br>      # get url with error co..."<br>    (file "scripts/serverchecker.tcl" line 11)<br>    invoked from within</div></blockquote></div></blockquote>Very, very strange indeed. Because for me it said this (I didn't test beforehand, but my own tests after prove it's just fine).. <blockquote class="uncited"><div>&lt;selhceeps&gt; !info<br>&lt;sp33chy&gt; Login server : Online, Char Server : Online, Maps Server : Online<br>&lt;sp33chy&gt; Current Connections : 2, User(s) Online : 16</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Mar 09, 2008 9:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T21:35:17-04:00</updated>

		<published>2008-03-09T21:35:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81583#p81583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81583#p81583"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81583#p81583"><![CDATA[
it said that <br><blockquote class="uncited"><div>[01:33] wrong # args: should be "proc name args body"<br>    while executing<br>"proc checkserver {nick host hand chan rest} {<br>      # browser agent<br>      set http [::http::config -useragent "Mozilla"]<br>      # get url with error co..."<br>    (file "scripts/serverchecker.tcl" line 11)<br>    invoked from within</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 9:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T21:27:57-04:00</updated>

		<published>2008-03-09T21:27:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81582#p81582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81582#p81582"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81582#p81582"><![CDATA[
i'm just new in tCL what mean ?<br><blockquote class="uncited"><div># requires tcllib http package<br>package require http </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 9:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-09T23:17:23-04:00</updated>

		<published>2008-03-09T21:26:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81581#p81581</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81581#p81581"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81581#p81581"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># requires tcllib http packagepackage require http# chanset flagsetudef flag serverinfo# query/timeout can be adjusted here.variable serverquery "http://sonic.utopianz.net/vampirero/"variable servertimeout 10bind pub - "!info" checkserverproc checkserver {nick host hand chan rest} {       # chanset catch, use .chanset #yourchan +serverinfo to enable       if {[lsearch -exact [channel info $chan] +serverinfo] == -1} { return 0 }       # browser agent       set http [::http::config -useragent "Mozilla"]       # get url with error control       catch {set http [::http::geturl "$::serverquery" -timeout [expr 1000 * $::servertimeout]]} error       # case 1, no socket       if {[string match -nocase "*couldn't open socket*" $error]} {              putserv "privmsg $chan : Cannot open socket. Try again later."              ::http::cleanup $http              return 0       }       # case 2, timeout       if { [::http::status $http] == "timeout" } {              putserv "privmsg $chan : Website has timed out. Try again later."              ::http::cleanup $http              return 0       }       # case 3, success, get html       set html [::http::data $http]       # scrape the page       if {![regexp -- {Login Server : &lt;.*?&gt;(.+?)&lt;} $html - s_login]} {set s_login Unknown}       if {![regexp -- {Char Server : &lt;.*?&gt;(.+?)&lt;} $html - s_char]} {set s_char Unknown}       if {![regexp -- {Map Server : &lt;.*?&gt;(.+?)&lt;} $html - s_maps]} {set s_maps Unknown}       if {![regexp -- {Current Connections : &lt;.*?&gt;(.+?)&lt;} $html - s_connect]} {set s_connect Unknown}       if {![regexp -- {User\(s\) Online : &lt;.*?&gt;(.+?)&lt;} $html - s_users]} {set s_users Unknown}       # reformat scraped information and message to irc.       puthelp "privmsg $chan :Login server : $s_login, Char Server : $s_char, Maps Server : $s_maps"       puthelp "privmsg $chan :Current Connections : $s_connect, User(s) Online : $s_users"       return 1}</code></pre></div>EDit: (in reply to post below) ... http package is part of tcllib and normally a standard part of eggdrop. It's purpose in the script is to alert eggdrop that http package is a required dependency, nothing more...<br><br>EDit2: corrected code above to use a chanset method of channel selection.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Mar 09, 2008 9:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[PisangGoreng]]></name></author>
		<updated>2008-03-09T21:11:30-04:00</updated>

		<published>2008-03-09T21:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81580#p81580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81580#p81580"/>
		<title type="html"><![CDATA[Copy Data From Web To IRC using Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81580#p81580"><![CDATA[
how bout this site <a href="http://www.pisangx.com/online.html" class="postlink">http://www.pisangx.com/online.html</a><br>just wanna take all of that..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9533">PisangGoreng</a> — Sun Mar 09, 2008 9:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
