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

	<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>2002-08-09T21:45:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-09T21:45:57-04:00</updated>

		<published>2002-08-09T21:45:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9577#p9577</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9577#p9577"/>
		<title type="html"><![CDATA[weather3.2.7.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9577#p9577"><![CDATA[
when i tried this TCL i get the fallowing message<br><br>Tcl error [pub_wz]: can't read "wzsock": no such variable<br>couldn't open socket: permission denied<br><br>anyone know how to correct this???<br><br> <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 Guest — Fri Aug 09, 2002 9:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-11T22:30:03-04:00</updated>

		<published>2002-07-11T22:30:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8810#p8810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8810#p8810"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8810#p8810"><![CDATA[
That works mate, cheers... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by Guest — Thu Jul 11, 2002 10:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-11T03:03:32-04:00</updated>

		<published>2002-07-11T03:03:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8778#p8778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8778#p8778"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8778#p8778"><![CDATA[
I noticed this a few times as well, but after the user reset their default it was fine. *boggle* Let me know if doing a .wz -d &lt;zip&gt; then .wz does not work right, and I'll look at it again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Thu Jul 11, 2002 3:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-11T02:35:37-04:00</updated>

		<published>2002-07-11T02:35:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8777#p8777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8777#p8777"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8777#p8777"><![CDATA[
Using your edit...<br>The output is still buggered if you use a default,<br>ie; .wz<br>It's leaving the temp off.<br>Might just be me, having an irc crack attack!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by Guest — Thu Jul 11, 2002 2:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-08T05:38:08-04:00</updated>

		<published>2002-07-08T05:38:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8703#p8703</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8703#p8703"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8703#p8703"><![CDATA[
Arf?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Mon Jul 08, 2002 5:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yourname]]></name></author>
		<updated>2002-07-07T23:33:35-04:00</updated>

		<published>2002-07-07T23:33:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8698#p8698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8698#p8698"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8698#p8698"><![CDATA[
good boy.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13">Yourname</a> — Sun Jul 07, 2002 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-07T01:02:12-04:00</updated>

		<published>2002-07-07T01:02:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8660#p8660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8660#p8660"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8660#p8660"><![CDATA[
Done. <a href="http://www.taintedreality.org/weather3.2.8-eggs.tcl" class="postlink">http://www.taintedreality.org/weather3.2.8-eggs.tcl</a> is the edited copy. It turned out to be just a few hard coded numbers that were making html code be included with numeric values.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Sun Jul 07, 2002 1:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-07T00:07:13-04:00</updated>

		<published>2002-07-07T00:07:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8659#p8659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8659#p8659"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8659#p8659"><![CDATA[
Muhahaha! Expect a unofficial update because murf's hasnt gotten around yet (if he made one yet) in the next day, I found what was making that error and have just about finished adjusting it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Sun Jul 07, 2002 12:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-06T23:47:14-04:00</updated>

		<published>2002-07-06T23:47:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8658#p8658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8658#p8658"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8658#p8658"><![CDATA[
Heh.. After a bit more debugging, I found that it is the expr command that is failing, (catch was returning non-zero's) and therefore it is not reading that bit of html in correctly..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_evil.gif" width="15" height="15" alt=":evil:" title="Evil or Very Mad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Sat Jul 06, 2002 11:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-06T23:15:53-04:00</updated>

		<published>2002-07-06T23:15:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8657#p8657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8657#p8657"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8657#p8657"><![CDATA[
Ok, maybe someone could help me out here. This tcl code is supposed to pull the temp out of the following html code.<br><div class="codebox"><p>Code: </p><pre><code>        if {$temp == "" &amp;&amp; [string first Temperature $wzout] != -1} {            for {set j 0} {$j &lt;= 10} {incr j} {               set wzout [gets $wzsock]               if {[string first &lt;b&gt; $wzout] != -1} {                 set stindx [string first b&gt; $wzout]                 set etindx [string first \&amp; $wzout]                 break               }            }            set ltindx [expr { $stindx + 2}]            set rtindx [expr { $etindx - 1}]            set temp [string range $wzout $ltindx $rtindx]            set temp [string trimright $temp { [&lt;\/b&gt;] } ]            continue        }</code></pre></div><div class="codebox"><p>Code: </p><pre><code>&lt;tr BGCOLOR=#FFFFFF&gt;&lt;td&gt;Temperature&lt;/td&gt;     &lt;td&gt;    &lt;b&gt;75&lt;/b&gt;° F    /        &lt;b&gt;24&lt;/b&gt;° C &lt;/td&gt;     &lt;/tr&gt;</code></pre></div>The error the bot is giving is:<br>[bot(dcc)] [21:39] Tcl error [pub_wz]: can't use non-numeric string as operand of "*"<br><br>A bit more info.. wzout is the html found from <a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=%5Bb%5D%5Bi%5Dzipcode" class="postlink">http://www.wunderground.com/cgi-bin/fin ... [i]zipcode</a>[/i][/b] and after its string'ed to the first "Updated" string found there. (Which appears to get it set up in the right area still)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Sat Jul 06, 2002 11:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-03T16:18:32-04:00</updated>

		<published>2002-07-03T16:18:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8557#p8557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8557#p8557"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8557#p8557"><![CDATA[
Arg! Well, right after I wrote this, a user did .wz and got a partial answer.<br><br>&lt;xxxxx[a]&gt; .wz<br>&lt;bot&gt;  Marshall, Minnesota -- 2:55 PM CDT on July 03, 2002<br>&lt;bot&gt;          Humidity: 51%<br>&lt;bot&gt;  Conditions : Clear with wind at 0<br><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"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Wed Jul 03, 2002 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-07-03T16:19:35-04:00</updated>

		<published>2002-07-03T16:12:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=8556#p8556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=8556#p8556"/>
		<title type="html"><![CDATA[weather3.2.7.tcl (again)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=8556#p8556"><![CDATA[
Well.. It worked for a few weeks, but now out of nowhere, I get an error when using murf's weather tcl. When I do .wz, .wz &lt;zip&gt; or .wz &lt;city&gt; I get this:<br><br>[15:10] Tcl error [pub_wz]: can't use non-numeric string as operand of "*"<br><br>Also saw it say '..string as operand of "-"'..<br><br>Anyone?<br><br><br>PS: The script is at <a href="http://www.taintedreality.org/weather3.2.7.tcl" class="postlink">http://www.taintedreality.org/weather3.2.7.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Wed Jul 03, 2002 4:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
