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

	<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>2013-01-30T16:35:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-01-30T16:35:52-04:00</updated>

		<published>2013-01-30T16:35:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100852#p100852</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100852#p100852"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100852#p100852"><![CDATA[
ahh, without $.. interesting, I always thought is with. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br>still, i like my old .tcl $errorInfo 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=187">caesar</a> — Wed Jan 30, 2013 4:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2013-01-30T16:26:58-04:00</updated>

		<published>2013-01-30T16:26:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100851#p100851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100851#p100851"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100851#p100851"><![CDATA[
Try reading your own examples again...<br>See the double "invalid command name" when you use .tcl $errorInfo?<br>Which would be identical to issuing <div class="codebox"><p>Code: </p><pre><code>.tcl {invalid command name "blah"}</code></pre></div>(That is, the expansion of $errorInfo).<br>And the same applies to your .set $errorInfo..<div class="codebox"><p>Code: </p><pre><code>.set {invalid command name "invalid command name "blah"while executing"blah""while executing"$errorInfo"}</code></pre></div>In essence, $ causes variable substitutions <span style="text-decoration:underline">before</span> the command is evaluated, not after. That applies to both .tcl and .set<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jan 30, 2013 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-01-30T16:21:02-04:00</updated>

		<published>2013-01-30T16:21:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100850#p100850</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100850#p100850"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100850#p100850"><![CDATA[
I think you've mixed them. Let's generate an error:<blockquote class="uncited"><div>.tcl blah<br>Tcl error: invalid command name "blah"</div></blockquote>now let's see results, .tcl first:<blockquote class="uncited"><div>.tcl $errorInfo<br>Tcl error: invalid command name "invalid command name "blah"<br>Tcl error:     while executing<br>Tcl error: "blah""</div></blockquote>and now .set:<blockquote class="uncited"><div>.set $errorInfo<br>[22:18:37] #cezar# set $errorInfo<br>Error: can't read "invalid command name "invalid command name "blah"<br>    while executing<br>"blah""<br>    while executing<br>"$errorInfo"": no such variable</div></blockquote>for me .tcl looks easier to read as i get more details, not to mention it mentions $errorInfo as an error too. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jan 30, 2013 4:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2013-01-30T15:28:47-04:00</updated>

		<published>2013-01-30T15:28:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100848#p100848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100848#p100848"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100848#p100848"><![CDATA[
.tcl $errorInfo would try to execute the contents of the errorInfo variable as a tcl command; not right...<br>".set errorInfo" is correct (or ".tcl set errorInfo")<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jan 30, 2013 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-01-30T12:07:02-04:00</updated>

		<published>2013-01-30T12:07:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100845#p100845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100845#p100845"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100845#p100845"><![CDATA[
it's <em class="text-italics">.tcl $errorInfo</em> but you have to have .tcl enabled in dcc chat/telnet.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jan 30, 2013 12:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SignZ]]></name></author>
		<updated>2013-01-30T10:36:22-04:00</updated>

		<published>2013-01-30T10:36:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100844#p100844</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100844#p100844"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100844#p100844"><![CDATA[
<blockquote class="uncited"><div>Bei mir geht seit gestern nichts mehr.<br><br>Gab es wieder ein update ??</div></blockquote>Das Script scheint wohl tot zu sein.. Interessanterweise geht bei meinem Bot nicht mal das, was speechles geschrieben hat (!g wetter &lt;stadt&gt;).<br>-<br>The script seems to be dead now.. Another interesting thing is that my bot doesn't seem to like speechles' suggestion either. It just doesn't answer and .set errorInfo tells me: <blockquote class="uncited"><div>[15:36:01] &lt;Chrono&gt; Currently: can't read "state(after)": no such element in array<br>[15:36:01] &lt;Chrono&gt; Currently:     while executing<br>[15:36:01] &lt;Chrono&gt; Currently: "after cancel $state(after)"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11251">SignZ</a> — Wed Jan 30, 2013 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Vision]]></name></author>
		<updated>2012-12-30T08:04:52-04:00</updated>

		<published>2012-12-30T08:04:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100512#p100512</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100512#p100512"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100512#p100512"><![CDATA[
<blockquote class="uncited"><div></div></blockquote>It don't work for me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7967">Vision</a> — Sun Dec 30, 2012 8:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Vision]]></name></author>
		<updated>2012-12-15T07:09:47-04:00</updated>

		<published>2012-12-15T07:09:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100411#p100411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100411#p100411"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100411#p100411"><![CDATA[
Bei mir geht seit gestern nichts mehr.<br><br>Gab es wieder ein update ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7967">Vision</a> — Sat Dec 15, 2012 7:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shivaz]]></name></author>
		<updated>2010-01-05T08:19:57-04:00</updated>

		<published>2010-01-05T08:19:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91580#p91580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91580#p91580"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91580#p91580"><![CDATA[
das zweite script streikt bei mir seit gut einer woche.<br><br>das erste von google aber funzzt.<br><br>[13:16:10] &lt;@b|rt&gt; !wetter stuttgart<br>[13:16:11] &lt;@tH3Br4In&gt; Wetter für Stuttgart, BW (stuttgart) - Temp: -4 °C - Wind: O mit Windgeschwindigkeiten von 6 km/h - Feuchtigkeit: 74 % - Meistens bewölkt<br><br>oder mit plz<br><br>[13:17:48] &lt;@b|rt&gt; !wetter 60311<br>[13:17:50] &lt;@tH3Br4In&gt; Wetter für Frankfurt, HE (60311) - Temp: -5 °C - Wind: N mit Windgeschwindigkeiten von 10 km/h - Feuchtigkeit: 80 % - Klar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9979">shivaz</a> — Tue Jan 05, 2010 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-01-02T01:36:09-04:00</updated>

		<published>2010-01-02T01:36:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91517#p91517</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91517#p91517"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91517#p91517"><![CDATA[
<blockquote class="uncited"><div>&lt;speechles&gt; !g .de wetter:berlin<br>&lt;sp33chy&gt; <strong class="text-strong">Wetter</strong> für <strong class="text-strong">Berlin</strong>: <strong class="text-strong">-2 °C</strong>, Aktuell: <strong class="text-strong">Leichter Schneefall</strong>, Wind: N mit 11 km/h; Feuchtigkeit: 100 %; Sa.: Vereinzelt schnee (0°C|-7°C); So.: Vereinzelt schnee (-2°C|-7°C); Mo.: Meist sonnig (-4°C|-11°C)<br>&lt;speechles&gt; !g .pt tempo:rio de janeiro<br>&lt;sp33chy&gt; <strong class="text-strong">Tempo</strong> para <strong class="text-strong">Rio de Janeiro - RJ, Brasil</strong>: <strong class="text-strong">25°C</strong>, Actual: <strong class="text-strong">Limpo</strong>, Vento: N a 6 km/h; Humidade: 89%; sáb: Limpo (30°C|22°C); dom: Parcialmente nublado (31°C|22°C); seg: Possibilidade de tempestade (28°C|22°C)</div></blockquote><a href="http://forum.egghelp.org/viewtopic.php?t=13586" class="postlink">http://forum.egghelp.org/viewtopic.php?t=13586</a><br><br>This one still works... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> Plus, you can redefine the google trigger phrase above (!g .de wetter:%search%) into an appropriate "!weather" trigger as well using the custom trigger section of the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Jan 02, 2010 1:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Burnout2]]></name></author>
		<updated>2010-01-01T08:02:58-04:00</updated>

		<published>2010-01-01T08:02:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=91501#p91501</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=91501#p91501"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=91501#p91501"><![CDATA[
Hallöchen,<br><br>keines der geposteten Scripten von shivaz funktionieren bei mir. Habe TCL8.5.<br><br>Mein <strong class="text-strong">Google Script</strong> bekomme ich folgende Fehlermeldung:<br>|12:57:30| »» &lt;b00T&gt; Tcl error [L:wetter]: can't read "webstring": no such variable<br><br>Beim zweiter <strong class="text-strong">Wetter.com Script</strong> bekomme ich folgende Meldung:<br>|12:58:27| »» &lt;b00T&gt; Tcl error [::wetter::pub]: time value too large/small to represent<br><br>Was mach ich falsch? Danke <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><span style="color:red"><strong class="text-strong">PS: Frohes Neues Jahr 2010!</strong></span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11036">Burnout2</a> — Fri Jan 01, 2010 8:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shivaz]]></name></author>
		<updated>2009-11-15T17:35:51-04:00</updated>

		<published>2009-11-15T17:35:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90927#p90927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90927#p90927"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90927#p90927"><![CDATA[
Danke @De KUS ...diese Option kannte ich bisher nicht :/<br><br>Sollte auch keine Kritik an Dich sein.... Ich hoffe ja nur auf ein Remake von Dir.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9979">shivaz</a> — Sun Nov 15, 2009 5:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2009-11-15T05:54:28-04:00</updated>

		<published>2009-11-15T05:54:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90917#p90917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90917#p90917"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90917#p90917"><![CDATA[
Ich habe es jetzt nicht ausprobiert, aber ich lege dir ans Herz deine Scripts endweder im <div class="codebox"><p>Code: </p><pre><code>-Tag oder als Dateidownload anzubieten. So kann man nur schwer die Formation des Codes wiedererkennen.Hoffe das hilft den Leuten weiter, beruhigt mich auch ein wenig, da man nach dem so langen Bereitstellen eines Scripts doch nur ungern nicht mehr weiter gemacht hat.</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sun Nov 15, 2009 5:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shivaz]]></name></author>
		<updated>2009-11-16T11:27:10-04:00</updated>

		<published>2009-11-14T20:45:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90913#p90913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90913#p90913"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90913#p90913"><![CDATA[
<strong class="text-strong">Es ist zwar nicht mal ansatzweise mit dem geilen Script von DE KUS zu vergleichen, aber nach Ewigkeit mal besser als nichts.<br><br>1. Wetter-Script via Google-Wetter (!wetter PLZ/ORT)<br>    Beispiel: !wetter 70173 (Stuttgart) <br>    Ausgabe:"&lt;@tH3Br4In&gt; Wetter für Stuttgart, BW (70173) - Temp: 9 °C - Wind: SW mit Windgeschwindigkeiten von 19 km/h - Feuchtigkeit: 76 % - Klar"</strong><br><br><div class="codebox"><p>Code: </p><pre><code>package require httpbind pub - !wetter L:wetterproc L:wetter {nick host hand chan arg} {set webstring "http://www.google.de/ig/api?weather=[lrange $arg 0 end]"catch {exec wget -O scripts/wetter.data $webstring} errset fp [open "scripts/wetter.data" r]; set wetterdata [read $fp]; close $fpregexp {(?i)&lt;city data=\"(.*?)\"/&gt;} $wetterdata -&gt; wetter(stadt)regexp {(?i)&lt;postal_code data=\"(.*?)\"/&gt;} $wetterdata -&gt; wetter(plz)regexp {(?i)temp_c data=\"(.*?)\"/&gt;} $wetterdata -&gt; wetter(current_celsius)regexp {(?i)humidity data=\"(.*?)\"/&gt;} $wetterdata -&gt; wetter(current_feuchtigkeit)regexp {(?i)wind_condition data=\"(.*?)\"/&gt;} $wetterdata -&gt; wetter(current_wind)regexp {(?i)condition data=\"(.*?)\"/&gt;} $wetterdata -&gt; wetter(current_weather)if {$wetter(current_weather) == ""} { set wetter(current_weather) "Aktuelle Wetterlage unklar" }putserv "privmsg $chan :Wetter für $wetter(stadt) \($wetter(plz)\) - Temp: $wetter(current_celsius) °C - $wetter(current_wind) - $wetter(current_feuchtigkeit) - $wetter(current_weather) - Mehr Wetter: \002www.wetter.ozon.nu\002 "} putlog "GoogleWeather loaded"</code></pre></div><br><strong class="text-strong">2. Eines was noch weniger ausgibt, via wetter.com und benötigt auch noch TCL 8.5 (!wetter PLZ/ORT)<br>Beispiel: !wetter 70173 (Stuttgart) - Ausgabe: "&lt;@ShAkTi&gt; sHiVaZ: heute wird das Wetter in 70173 wolkig bei 7° Celsius."<br>Hier kann aber mit z.b. "!wetter &lt;PLZ/ORT&gt; &lt;1-10&gt;" Zehn Tage Vorhersage abgefragt werden.</strong><br><div class="codebox"><p>Code: </p><pre><code># wetter.tcl for eggdrop 1.0-alpha1 version by alexex# Copyright (C) 2009 alexex# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public# License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any# later version.# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.# You should have received a copy of the GNU General Public License along with this program; if not, see# http://www.gnu.org/licenses/ .# wetter script für deutschland, österreich &amp; schweiznamespace eval wetter {   # With this variable you can change the command on which the weather is gonna be checked.      variable bind "?wetter"   package require httppackage require Tcl 8.5   http::config -useragent "Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.2 (like Gecko)"   # Gets id of the most likely place for input, if it returns 0, nothing was found.   proc place {input} {      set url "http://www.wetter.com/suche/?search=[http::formatQuery $input]"      set token [http::geturl $url]      upvar #0 $token state      set i [lsearch $state(meta) "Location"]      if {$i == -1} {         set data [http::data $token]         if {![regexp {&lt;a class="search_result" href="http://www.wetter.com/deutschland/.*?/(.*?).html" target="_top"&gt;} $data -&gt; id]} {            set id 0         }      } else {         incr i         regexp {.*/(.*?).html} [lindex $state(meta) $i] -&gt; id      }      return $id   }   # Checks for weather for place on day, where place is the return of place, and day, is either today, tomorrow or count of days.   proc check {place day} {      set url "http://www.wetter.com/wetter_aktuell/wettervorhersage/16_tagesvorhersage/?id=$place"      set data [http::data [http::geturl $url]]      switch $day {         "today" {set day [clock format [clock seconds] -format %A -locale de_DE]}         "tomorrow" {set day [clock format [clock add [clock seconds] 1 days] -format %A -locale de_DE]}         default {            if {![string is digit $day] || $day &gt; 11 || $day &lt; 0} {set day 0}            set day [clock format [clock add [clock seconds] $day days] -format %A -locale de_DE]         }      }      regexp [subst -nocommands {&lt;td class="fc_title fc_center"&gt;.*?$day.*?&lt;td class="fc_sub_title fc_center"&gt;(.*?)&lt;/td&gt;.*?&lt;span class="temp"&gt;(.*?)&lt;/span&gt;}] $data -&gt; mood temp      set mood [string trim $mood [list " " "   " \n]]      return [list $mood $temp]   }   bind pub - $bind [namespace current]::pub   proc pub {nick uhost handle channel text} {      # TODO: Check when its needed and initialize it then.      variable bind      if {[llength $text] == 0} {         putserv "PRIVMSG $channel :Das war ein bisschen zu wenig Info $nick, wie wärs mit '$bind &lt;ort/plz&gt;'?"         return 0      } elseif {[llength $text] == 1} {         set day 0         set out "heute"         set place $text      } else {         set last [lindex $text end]         if {[string equal $last "heute"]} {            set day 0            set out "heute"            set place [join [lrange [split $text] 0 end-1]]         } elseif {[string equal $last "morgen"]} {            set day 1            set out "morgen"            set place [join [lrange [split $text] 0 end-1]]         } elseif {[string is integer $last]} {            if {$last &lt; 0 || $last &gt; 10} {               putserv "PRIVMSG $channel :Soweit kann ich nicht in die Zukunft/Vergangenheit schauen, versuchs mal mit einer Zahl zwischen 0 und 10 $nick."               return 0            } else {               set day $last               set out "in $day Tagen"               set place [join [lrange [split $text] 0 end-1]]            }         } else {            set place $text            set day 0            set out "heute"         }      }      if {[set id [place $place]] == 0} {         putserv "PRIVMSG $channel :Tut mir leid $nick, zu deiner Suche nach '$place' wurde nichts gefunden. Versuchs mal mit was anderem."         return 0      } else {         set forecast [check $id $day]         putserv "PRIVMSG $channel :$nick: $out wird das Wetter in $place [lindex $forecast 0] bei [lindex $forecast 1]° Celsius."         return 1      }   }}</code></pre></div><br>ich tendire zum ersten, das ist zumindest mal annehmbar....<br><br>ich hoffe und warte immer noch auf DE KUS <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9979">shivaz</a> — Sat Nov 14, 2009 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2009-02-13T03:39:03-04:00</updated>

		<published>2009-02-13T03:39:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87388#p87388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87388#p87388"/>
		<title type="html"><![CDATA[Weather script for wetter.com [German]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87388#p87388"><![CDATA[
Prinzipiel könnte man sich zwar mittlerweile drum kümmern, da glaub diese EM-Weiterleitung oder was das war nimmer geschaltet ist, aber derzeit komm ich einfach nicht dazu und kann auch net versprechen, wann das mal kommen könnte.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Feb 13, 2009 3:39 am</p><hr />
]]></content>
	</entry>
	</feed>
