| View previous topic :: View next topic |
| Author |
Message |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sun Nov 15, 2009 5:54 am Post subject: |
|
|
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 |
|
 |
shivaz Voice
Joined: 07 Jun 2008 Posts: 6
|
Posted: Sun Nov 15, 2009 5:35 pm Post subject: |
|
|
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 |
|
 |
Burnout2 Voice
Joined: 01 Jan 2010 Posts: 1
|
Posted: Fri Jan 01, 2010 8:02 am Post subject: |
|
|
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
PS: Frohes Neues Jahr 2010! |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sat Jan 02, 2010 1:36 am Post subject: |
|
|
| 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... 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 |
|
 |
shivaz Voice
Joined: 07 Jun 2008 Posts: 6
|
Posted: Tue Jan 05, 2010 8:19 am Post subject: |
|
|
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 |
|
 |
Vision Voice
Joined: 12 Jul 2006 Posts: 14
|
Posted: Sat Dec 15, 2012 7:09 am Post subject: |
|
|
Bei mir geht seit gestern nichts mehr.
Gab es wieder ein update ?? _________________ Vision |
|
| Back to top |
|
 |
Vision Voice
Joined: 12 Jul 2006 Posts: 14
|
Posted: Sun Dec 30, 2012 8:04 am Post subject: |
|
|
It don't work for me _________________ Vision |
|
| Back to top |
|
 |
SignZ Voice
Joined: 17 Jun 2010 Posts: 18
|
Posted: Wed Jan 30, 2013 10:36 am Post subject: |
|
|
| 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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed Jan 30, 2013 12:07 pm Post subject: |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jan 30, 2013 3:28 pm Post subject: |
|
|
.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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed Jan 30, 2013 4:21 pm Post subject: |
|
|
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.  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jan 30, 2013 4:26 pm Post subject: |
|
|
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 |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed Jan 30, 2013 4:35 pm Post subject: |
|
|
ahh, without $.. interesting, I always thought is with.
still, i like my old .tcl $errorInfo more  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
|