egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Weather script for wetter.com [German]
Goto page Previous  1, 2, 3 ... 13, 14, 15
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sun Nov 15, 2009 5:54 am    Post subject: Reply with quote

Ich habe es jetzt nicht ausprobiert, aber ich lege dir ans Herz deine Scripts endweder im [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.
_________________
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Back to top
View user's profile Send private message MSN Messenger
shivaz
Voice


Joined: 07 Jun 2008
Posts: 6

PostPosted: Sun Nov 15, 2009 5:35 pm    Post subject: Reply with quote

Danke @De KUS ...diese Option kannte ich bisher nicht :/

Sollte auch keine Kritik an Dich sein.... Ich hoffe ja nur auf ein Remake von Dir.
Back to top
View user's profile Send private message
Burnout2
Voice


Joined: 01 Jan 2010
Posts: 1

PostPosted: Fri Jan 01, 2010 8:02 am    Post subject: Reply with quote

Hallöchen,

keines der geposteten Scripten von shivaz funktionieren bei mir. Habe TCL8.5.

Mein Google Script bekomme ich folgende Fehlermeldung:
|12:57:30| »» <b00T> Tcl error [L:wetter]: can't read "webstring": no such variable

Beim zweiter Wetter.com Script bekomme ich folgende Meldung:
|12:58:27| »» <b00T> Tcl error [::wetter::pub]: time value too large/small to represent

Was mach ich falsch? Danke Smile

PS: Frohes Neues Jahr 2010!
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sat Jan 02, 2010 1:36 am    Post subject: Reply with quote

Quote:
<speechles> !g .de wetter:berlin
<sp33chy> Wetter für Berlin: -2 °C, Aktuell: Leichter Schneefall, 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)
<speechles> !g .pt tempo:rio de janeiro
<sp33chy> Tempo para Rio de Janeiro - RJ, Brasil: 25°C, Actual: Limpo, 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)


http://forum.egghelp.org/viewtopic.php?t=13586

This one still works... 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.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
shivaz
Voice


Joined: 07 Jun 2008
Posts: 6

PostPosted: Tue Jan 05, 2010 8:19 am    Post subject: Reply with quote

das zweite script streikt bei mir seit gut einer woche.

das erste von google aber funzzt.

[13:16:10] <@b|rt> !wetter stuttgart
[13:16:11] <@tH3Br4In> Wetter für Stuttgart, BW (stuttgart) - Temp: -4 °C - Wind: O mit Windgeschwindigkeiten von 6 km/h - Feuchtigkeit: 74 % - Meistens bewölkt

oder mit plz

[13:17:48] <@b|rt> !wetter 60311
[13:17:50] <@tH3Br4In> Wetter für Frankfurt, HE (60311) - Temp: -5 °C - Wind: N mit Windgeschwindigkeiten von 10 km/h - Feuchtigkeit: 80 % - Klar
Back to top
View user's profile Send private message
Vision
Voice


Joined: 12 Jul 2006
Posts: 14

PostPosted: Sat Dec 15, 2012 7:09 am    Post subject: Reply with quote

Bei mir geht seit gestern nichts mehr.

Gab es wieder ein update ??
_________________
Vision
Back to top
View user's profile Send private message
Vision
Voice


Joined: 12 Jul 2006
Posts: 14

PostPosted: Sun Dec 30, 2012 8:04 am    Post subject: Reply with quote

speechles wrote:

It don't work for me
_________________
Vision
Back to top
View user's profile Send private message
SignZ
Voice


Joined: 17 Jun 2010
Posts: 18

PostPosted: Wed Jan 30, 2013 10:36 am    Post subject: Reply with quote

Vision wrote:
Bei mir geht seit gestern nichts mehr.

Gab es wieder ein update ??

Das Script scheint wohl tot zu sein.. Interessanterweise geht bei meinem Bot nicht mal das, was speechles geschrieben hat (!g wetter <stadt>).
-
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:
Quote:
[15:36:01] <Chrono> Currently: can't read "state(after)": no such element in array
[15:36:01] <Chrono> Currently: while executing
[15:36:01] <Chrono> Currently: "after cancel $state(after)"
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed Jan 30, 2013 12:07 pm    Post subject: Reply with quote

it's .tcl $errorInfo but you have to have .tcl enabled in dcc chat/telnet.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Jan 30, 2013 3:28 pm    Post subject: Reply with quote

.tcl $errorInfo would try to execute the contents of the errorInfo variable as a tcl command; not right...
".set errorInfo" is correct (or ".tcl set errorInfo")
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed Jan 30, 2013 4:21 pm    Post subject: Reply with quote

I think you've mixed them. Let's generate an error:
Quote:

.tcl blah
Tcl error: invalid command name "blah"

now let's see results, .tcl first:
Quote:

.tcl $errorInfo
Tcl error: invalid command name "invalid command name "blah"
Tcl error: while executing
Tcl error: "blah""

and now .set:
Quote:

.set $errorInfo
[22:18:37] #cezar# set $errorInfo
Error: can't read "invalid command name "invalid command name "blah"
while executing
"blah""
while executing
"$errorInfo"": no such variable

for me .tcl looks easier to read as i get more details, not to mention it mentions $errorInfo as an error too. Smile
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Jan 30, 2013 4:26 pm    Post subject: Reply with quote

Try reading your own examples again...
See the double "invalid command name" when you use .tcl $errorInfo?
Which would be identical to issuing
Code:
.tcl {invalid command name "blah"}

(That is, the expansion of $errorInfo).
And the same applies to your .set $errorInfo..
Code:
.set {invalid command name "invalid command name "blah"
while executing
"blah""
while executing
"$errorInfo"}


In essence, $ causes variable substitutions before the command is evaluated, not after. That applies to both .tcl and .set
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed Jan 30, 2013 4:35 pm    Post subject: Reply with quote

ahh, without $.. interesting, I always thought is with. Rolling Eyes

still, i like my old .tcl $errorInfo more Razz
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 13, 14, 15
Page 15 of 15

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber