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

	<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-06T20:44:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-06T20:44:57-04:00</updated>

		<published>2005-01-06T20:44:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45099#p45099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45099#p45099"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45099#p45099"><![CDATA[
generally speaking, your best bet always is to contact script's author directly, there might be a newer version which fixes the bugs you are experiencing<br><br>other than that, I'd guess proc [pub_w] was somehow triggered on a channel that has been removed from the bot (or never added; this may happen as a side effect of other scripts, I have no idea what you are running)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jan 06, 2005 8:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[syk]]></name></author>
		<updated>2005-01-06T20:20:19-04:00</updated>

		<published>2005-01-06T20:20:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45097#p45097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45097#p45097"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45097#p45097"><![CDATA[
ideas on how to fix it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5861">syk</a> — Thu Jan 06, 2005 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-06T20:09:50-04:00</updated>

		<published>2005-01-06T20:09:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45096#p45096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45096#p45096"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45096#p45096"><![CDATA[
your proc is trying to manipulate a non-existing channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jan 06, 2005 8:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[syk]]></name></author>
		<updated>2005-01-06T20:01:51-04:00</updated>

		<published>2005-01-06T20:01:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45094#p45094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45094#p45094"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45094#p45094"><![CDATA[
lol, well I found out what it was, and thats fixed now, but I'm getting some retarded error from the weather script<br><br>Tcl error [pub_w]: no such channel record<br><br>Not expecting you to know, but if you do, or if anyone does, I'd appreciate the help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5861">syk</a> — Thu Jan 06, 2005 8:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-01-06T19:32:30-04:00</updated>

		<published>2005-01-06T19:32:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45093#p45093</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45093#p45093"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45093#p45093"><![CDATA[
<blockquote class="uncited"><div>I've .restart'd it like 10+ times, and it's still the same</div></blockquote>Then you didn't remove/rename that proc of yours. When you restart, the original command is restored for a brief moment untill your script is loaded back in and replace the command once more <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=2878">user</a> — Thu Jan 06, 2005 7:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[syk]]></name></author>
		<updated>2005-01-06T19:30:35-04:00</updated>

		<published>2005-01-06T19:30:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45092#p45092</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45092#p45092"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45092#p45092"><![CDATA[
I've .restart'd it like 10+ times, and it's still the same<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5861">syk</a> — Thu Jan 06, 2005 7:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-01-06T19:27:50-04:00</updated>

		<published>2005-01-06T19:27:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45091#p45091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45091#p45091"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45091#p45091"><![CDATA[
<blockquote class="uncited"><div>Well, I guess it's just not this script thats giving that error, and I don't know what you mean by the join proc, like I said, I'm new to this</div></blockquote>The script you pasted is calling other procs that probably try to use the built in 'join' command. You have a proc called 'join' that replaced the original command. To restore the original command you need to .restart your bot. (.rehash won't do)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jan 06, 2005 7:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[syk]]></name></author>
		<updated>2005-01-06T19:20:59-04:00</updated>

		<published>2005-01-06T19:20:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45090#p45090</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45090#p45090"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45090#p45090"><![CDATA[
Well, I guess it's just not this script thats giving that error, and I don't know what you mean by the join proc, like I said, I'm new to this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5861">syk</a> — Thu Jan 06, 2005 7:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-01-06T13:28:25-04:00</updated>

		<published>2005-01-06T13:28:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45070#p45070</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45070#p45070"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45070#p45070"><![CDATA[
Why did you post that? Did you read my previous post? Rename your join proc and restart your bot as you have deleted the native join command from the interpreter.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jan 06, 2005 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[syk]]></name></author>
		<updated>2005-01-06T13:16:49-04:00</updated>

		<published>2005-01-06T13:16:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45069#p45069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45069#p45069"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45069#p45069"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc pub_w {nick uhand handle chan input} {  if {[lsearch -exact [channel info $chan] +weather] != -1} {    global botnick agent    if {[llength $input]==0} {      putserv "PRIVMSG $chan :Lilys Simple Weather V2"    } else {      set query "http://www.wunderground.com/cgi-bin/findweather/getForecast?qu$      for { set index 0 } { $index&lt;[llength $input] } { incr index } {        set query "$query[lindex $input $index]"          if {$index&lt;[llength $input]-1} then {            set query "$query+"          }      }    }    putserv "PRIVMSG $chan : $query"    set http [::http::config -useragent $agent]    set http [::http::geturl $query]    set html [::http::data $http]    regsub -all "\n" $html "" html    regexp {Observed at&lt;b&gt;(.*)&lt;/b&gt;\(&lt;a} $html - loc    if {[info exists loc]==0} {      putserv "PRIVMSG $chan : I dont know where $input is, exactly"      return 0    }    regexp {Updated: &lt;b&gt;(.*?)&lt;/b&gt;} $html - updated    regexp {Updated: &lt;b&gt;(.*?)Visibility} $html - data    regexp {&lt;font size=-1&gt;&lt;b&gt;(.*?)&lt;/b&gt;&lt;/font&gt;} $data - cond    regexp {arial&gt;&lt;b&gt;  &lt;nobr&gt;&lt;b&gt;(.*?)&lt;/b&gt; °F&lt;/nobr&gt;  /  &lt;nobr&gt;&lt;b&gt;(.*?)&lt;/b&gt; °C&lt;/nobr&gt;} $data - tempf tempc    if {[info exists tempf]==0} {      regexp {Temperature:&lt;/td&gt;&lt;td valign=top&gt;&lt;b&gt;  &lt;nobr&gt;&lt;b&gt;(.*?)&lt;/b&gt; °F&lt;/nobr&gt;  /  &lt;nobr&gt;&lt;b&gt;(.*?)&lt;/b&gt; °C&lt;/nobr&gt;} $data $    }    if {[info exists tempf]==0} {      putserv "PRIVMSG $chan : Weather for $loc"      putserv "PRIVMSG $chan : is not currently available"      return 0    }    regexp {Wind:(.*?)&lt;nobr&gt;&lt;b&gt;(.*?)&lt;/b&gt; mph&lt;/nobr&gt;  /  &lt;nobr&gt;&lt;b&gt;(.*?)&lt;/b&gt; km/h&lt;/nobr&gt;} $data - trash windm windk    regexp {&lt;/b&gt; from the &lt;b&gt;(.*?)&lt;/b&gt;} $data - windd    regexp {Humidity:&lt;/td&gt;&lt;td valign=top&gt;&lt;b&gt;(.*?)&lt;/b&gt;} $data - hum    putserv "PRIVMSG $chan : Weather for \00312\002$loc\002"    regsub -all "\&lt;.*?\&gt;" $updated "" updated    putserv "PRIVMSG $chan : Updated at \00312\002$updated\002\003"    if {[info exists cond]==0} {      putserv "PRIVMSG $chan : \00312\002$tempf\002\003 F, Humidity \00312\002$hum\002"    } else {      putserv "PRIVMSG $chan : \00312\002$cond\002\003, \00312\002$tempf\002\003 F, Humidity \00312\002$hum\002"    }    if {[info exists windd]==0} {      putserv "PRIVMSG $chan : Wind is \00312\002Calm\002\003"    } else {      putserv "PRIVMSG $chan : Wind \00312\002$windm MPH\002\003 From the \00312\002$windd\002\003"    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5861">syk</a> — Thu Jan 06, 2005 1:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-01-06T10:38:31-04:00</updated>

		<published>2005-01-06T10:38:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45058#p45058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45058#p45058"/>
		<title type="html"><![CDATA[Re: Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45058#p45058"><![CDATA[
<blockquote class="uncited"><div>Tcl error [pub_w]: no value given for parameter "h" to "join"</div></blockquote>"join" is a native tcl command and that error message comes from a proc. Overwriting the internal commands with procs that do something entirely different is not a good idea.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Jan 06, 2005 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-01-06T10:08:00-04:00</updated>

		<published>2005-01-06T10:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45054#p45054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45054#p45054"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45054#p45054"><![CDATA[
how big the probability for someone here having used that script is, you think? 0.1%? no, it's less than that<br><br>post the script, or at least the relevant parts, and complete error traceback, obtained by typing .set errorInfo on bot's partyline<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Jan 06, 2005 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[syk]]></name></author>
		<updated>2005-01-06T02:41:46-04:00</updated>

		<published>2005-01-06T02:41:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45043#p45043</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45043#p45043"/>
		<title type="html"><![CDATA[Lilyweather problems]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45043#p45043"><![CDATA[
This script was working perfectly hours ago, now I get the error<br><br>Tcl error [pub_w]: no value given for parameter "h" to "join"<br><br>and I edited nothing, any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5861">syk</a> — Thu Jan 06, 2005 2:41 am</p><hr />
]]></content>
	</entry>
	</feed>
