| View previous topic :: View next topic |
| Author |
Message |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sat Aug 27, 2011 11:32 pm Post subject: |
|
|
| yota wrote: | Bummer looks like the site may have changed or is it just my bot?  |
| Quote: | <speechles> !wz
<sp33chy> speechles's weather request; Ukiah Municipal, California (39.1°N/123.2°W); Updated: 7:56 PM PDT (August 27, 2011); Conditions: Clear; Temperature: 83°F (28.3°C); High/Low: 97/58°F (36.1/14.4°C); UV: 0/16; Humidity: 29%; Dew Point: 48°F (8.9°C); Pressure: 29.86 in/1011 hPa; Wind: Calm
<speechles> !fc
<sp33chy> speechles's forecast request; Ukiah Municipal, California Forecast (High/Low); Updated: 7:56 PM PDT (August 27, 2011); Saturday: Clear, 97/58°F (36.1/14.4°C); Sunday: Clear, 97/58°F (36.1/14.4°C); Monday: Clear, 94/56°F (34.4/13.3°C); Tuesday: Clear, 92/56°F (33.3/13.3°C); Wednesday: Clear, 92/56°F (33.3/13.3°C)
<speechles> !sky
<sp33chy> speechles's sky request; Ukiah Municipal, California Astronomy; Sunrise: 6:36 AM PDT; Sunset: 7:51 PM PDT; Moon: Waning Crescent (1%); Moonrise: 4:58 AM PDT (8/27); Moonset: 6:47 PM PDT (8/27); Visible Light: 14h 09m; Daylight Length: 13h 14m; Tomorrow: 2m 24s shorter
<speechles> !time
<sp33chy> speechles's time request; Ukiah Municipal, California (39.1°N/123.2°W); Local Time: 8:31 PM PDT (August 27, 2011) |
Just your bot it appears.... (to be continued)...
Using: Incith:Weather 2.9a _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Sun Aug 28, 2011 4:19 am Post subject: |
|
|
The same with me. Everything works great. I am also using the same version as speechles. _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
Exedore Halfop

Joined: 27 Jan 2008 Posts: 43
|
Posted: Sat Oct 08, 2011 11:48 am Post subject: |
|
|
| Can be displayed in spanish? |
|
| Back to top |
|
 |
4everlearning Voice
Joined: 26 Jan 2011 Posts: 8
|
Posted: Sun Jan 15, 2012 12:01 am Post subject: |
|
|
Hey guys I am missing something. I have this script running on one net in many channels and it works great. it's been there since the release of v2.9a.
My issue is that I am trying to set this up on a second net running in two channels, I of course have no problem getting the bot to connect and join the channels. However i can't get the bot to respond to the weather command. I have done ".chanset #revolusongs +weather" but still no responce from the bot and the bot doesn't show the command being seen in telnet.
here is the chaninfo
| Quote: |
<Boing> »» Settings for dynamic channel #revolusongs:
<Boing> »» Protect modes (chanmode): +tn
<Boing> »» Idle Kick after (idle-kick): DON'T!
<Boing> »» stopnethack: DON'T!
<Boing> »» aop-delay: 5:30
<Boing> »» revenge-mode: 0
<Boing> »» ban-type: 3
<Boing> »» ban-time: 120
<Boing> »» exempt-time: 60
<Boing> »» invite-time: 60
<Boing> »» Other modes:
<Boing> »» -inactive -statuslog -secret +shared
<Boing> »» +greet -seen +cycle +dontkickops
<Boing> »» +protectops -protectfriends -revenge -revengebot
<Boing> »» -bitch -autoop -autovoice -nodesynch
<Boing> »» -enforcebans +dynamicbans +userbans -autohalfop
<Boing> »» -protecthalfops -static
<Boing> »» +dynamicexempts +userexempts +dynamicinvites +userinvites
<Boing> »» User defined channel flags:
<Boing> »» +weather
<Boing> »» flood settings: chan ctcp join kick deop nick
<Boing> »» number: 15 3 5 3 3 5
<Boing> »» time : 60 60 60 10 10 60
|
Thanks for all the help, I know I am just missing something very simple |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Sun Jan 15, 2012 5:18 am Post subject: |
|
|
Did you check if the channel has +c mode on? on dalnet for example, c mode blocks bold and colors from everyone. _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
4everlearning Voice
Joined: 26 Jan 2011 Posts: 8
|
Posted: Sun Jan 15, 2012 9:19 pm Post subject: |
|
|
Thanks for the reply, yes the channel allows both bold and colors. both nets run Unrealircd with Anope and neostats.
One more thing. I have installed Fordlawnmower's horoscope script to make sure that the bot is working correctly. I did ".chanset #revolusongs +horo" for that script and all works fine with that script. Just for some reason this weather script isn't responding. |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Mon Jan 16, 2012 4:01 am Post subject: |
|
|
Is it loaded after http.tcl? _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
shadrach Halfop
Joined: 14 Dec 2007 Posts: 74
|
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Wed Jan 18, 2012 2:53 am Post subject: |
|
|
| 4everlearning wrote: | Thanks for the reply, yes the channel allows both bold and colors. both nets run Unrealircd with Anope and neostats.
One more thing. I have installed Fordlawnmower's horoscope script to make sure that the bot is working correctly. I did ".chanset #revolusongs +horo" for that script and all works fine with that script. Just for some reason this weather script isn't responding. |
FordLawnmower's script isn't really that great. Sure he has that "hawkee" forum where he has a few things eggdrop related offered. But his eggdrop/tcl scripts look more like bad ports of mIRC scripts. Basically, there are better ways to do all this and Incith was quite efficient and simplistic in his approaches. I keep this same style in my modifications to his scripts. So these are written to be eggdrop scripts taking advantage of everything eggdrop can do. In that, they afford you some extra features: flood system, trigger system, configuration options, split options, user defaults, etc. Most of Incith's script have a constant set of configuration settings that are always present in every single one. I've also kept this in any scripts of mine based off Incith's scripts. This allows you to become familiar with the "Incith family" of scripts easily.
http://ereader.kiczek.com/scripts
This is my official repository for my scripts. Most of these scripts cannot be found on egghelp's tcl archive. They can only be found within forum threads.
Finally, the reason the script isn't working for you is because it relies on http package. Specifically, http package 2.3 .... Is this other bot an windrop (windows + eggdrop)?. If so, you may be able to simply source http package like a tcl script, as basically that is all the http package really is. There is no actual "object" compiled and created. It's entirely written in tcl. So sourcing it can suffice the same as having it natively in your environment paths. Just make sure that you do not have it provided via your environment _AND_ provide it via sourcing. You cannot have conflicting packages present this will crash eggdrop.
Incith has quit the scene for a bit, but his spirit shall live on forever within his scripts.
Incith, if you are reading this. To Jordan, I apologize. If were anything I said or did caused your departure.. My bad... Sorry ;/ _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
Hellster Voice
Joined: 10 Aug 2006 Posts: 22
|
Posted: Sat Jan 21, 2012 9:11 am Post subject: |
|
|
Hey guys, i'm not sure when exactly happened, but it seems the weather site may or may not have changed something, which in turn is making the script give the following error
Tcl error [incith::weather::weather_handler]: invalid command name "clock"
I only noticed it today so i can only assume it's something recent.
If anyone knows a way to fix it that would be most appreciated, thanks.
PS: running 2.9a |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sun Jan 22, 2012 2:10 pm Post subject: |
|
|
| Hellster wrote: | Tcl error [incith::weather::weather_handler]: invalid command name "clock"
I only noticed it today so i can only assume it's something recent.
If anyone knows a way to fix it that would be most appreciated, thanks.
PS: running 2.9a |
http://forum.egghelp.org/viewtopic.php?t=18587
Your mixing tcl8.4 and a pre-compiled tcl8.5 bot. This causes the issue. Read what thommey has to say at the thread above. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
4everlearning Voice
Joined: 26 Jan 2011 Posts: 8
|
Posted: Thu Feb 09, 2012 4:15 am Post subject: |
|
|
Thank you guys, I figured it out. Not sure how it got changed but in the script the trigger was set to both . and ! which cause a parsing problem.
Speechles, I wasn't trying to say there was anything wrong with the script. I honestly thought i was having issues with my bot. this script and all other incith's scripts I have used, have worked flawlessly. |
|
| Back to top |
|
 |
FightingNavyman Voice
Joined: 18 Jan 2011 Posts: 35
|
Posted: Sun Mar 18, 2012 4:29 am Post subject: |
|
|
how can i modify it to make it look like this.. im new at this
<+Amy> Baytown, Texas (29.8°N 95.0°W) - Updated: 02:56 CDT
<+Amy> Conditions: Mostly Cloudy - Temperature: 22.2°C (72°F) -
<+Amy> Dew Point: 21°C (70°F) - Humidity: 92%
<+Amy> Wind: SSE at 7.0 MPH (11.3 KPH) - High/Low: 27/21°C (81/70°F) |
|
| Back to top |
|
 |
trickle Voice
Joined: 02 Jun 2012 Posts: 3
|
Posted: Sat Jun 02, 2012 1:58 am Post subject: Script stopped working today (6/2/2012) |
|
|
Hi,
I have been running this tcl for about 3 months problem free after applying the fixes recommended in this forum. Specifically, I changed all instances of http://wunderground.com to http://classic.wunderground.com and I think one other which I am not remembering right now. Unfortunately, today (June 2nd 2012) the tcl has stopped working and I believe it is because the format of the wunderground site may have changed. The tcl still is able to recognize when I search for invalid city names with !time or !weather, so I am confident that I am still able to reach the site. However, no results are returned when I search for legitimate city names. Any help would be appreciated.
Thanks for this great tcl, and any help you can provide. |
|
| Back to top |
|
 |
|