| View previous topic :: View next topic |
| Author |
Message |
peasaretheworst Voice
Joined: 09 Jan 2017 Posts: 2 Location: Seattle, WA
|
Posted: Mon Jan 09, 2017 5:36 am Post subject: Simple Wunderground Weather Script - weather.tcl |
|
|
This is a very simple weather script that displays current information from Wunderground. Original author is credited in the comment of the script and is heavily modified by myself. Temperature information is displayed in both F and C, and is colored between blue and red depending on temperature. Wind is displayed in MPH and KMH. Windchill is presented if available, and is colored as well.
Works fine with TCL 8.5. Requies http.
- Temperature F/C (Colored)
- Humidity
- Wind & Wind Direction MPH/KMH
- Wind Chill (Colored) (If Applicable)
- Pressure inHg/hPa (Rising/Steady/Falling)
- Current Conditions
- Time Updated
Example Output:
!w denver, co
San Rafael Neighborhood, Denver, Colorado: Temperature: 31.4F (-0.3C) - Windchill: 29F (-2C) - Humidity: 96% - Wind: NE @ 3.1MPH (5.0KPH) gusting to 10.7MPH (17.2KPH) - Pressure: 29.81in (1009hPa) (Falling) - Conditions: Mostly Cloudy - Updated: 2:17 AM MST
.chanset #channel +weather
Other information on how to use the script is in the commented portion of the script.
https://github.com/purpleears/eggdrop_weather
This is my first post here, if I did anything wrong with this post please tell me!
Last edited by peasaretheworst on Wed Feb 01, 2017 3:01 am; edited 1 time in total |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Jan 11, 2017 11:23 am Post subject: |
|
|
| Code: |
[10:10] Tcl error [pub_w]: can't read "data": no such variable
|
|
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Wed Jan 11, 2017 12:06 pm Post subject: Re: Simple Wunderground Weather Script - weather.tcl |
|
|
Thanks !
It is not unusual to people to ask about a working weather script in various Eggdrop related channels.
It is nice to have something to point to, since incith-weather (last I knew) quit working. It had a lot of features, and seemed to be quite popular. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
BillTech Voice
Joined: 15 Oct 2011 Posts: 7
|
Posted: Sun Jan 22, 2017 11:00 am Post subject: |
|
|
| shouldn't it be .chanset #channel +weather |
|
| Back to top |
|
 |
CP1832 Halfop
Joined: 09 Oct 2014 Posts: 68
|
Posted: Sun Jan 29, 2017 8:30 pm Post subject: Re: Simple Wunderground Weather Script - weather.tcl |
|
|
| willyw wrote: | | It is nice to have something to point to, since incith-weather (last I knew) quit working. It had a lot of features, and seemed to be quite popular. | I'm still using incith-weather script and it's working just fine (although some features are missing). Here's the link to the working script: http://forum.egghelp.org/viewtopic.php?p=104918#104918 |
|
| Back to top |
|
 |
peasaretheworst Voice
Joined: 09 Jan 2017 Posts: 2 Location: Seattle, WA
|
Posted: Wed Feb 01, 2017 3:02 am Post subject: |
|
|
| BillTech wrote: | | shouldn't it be .chanset #channel +weather |
Fixed . It was right in the script itself, but I messed up typing it here. Thanks! |
|
| Back to top |
|
 |
Arkadietz Halfop

Joined: 14 Jul 2006 Posts: 67 Location: cat /dev/zero > /dev/null;
|
Posted: Sat Feb 11, 2017 8:10 am Post subject: |
|
|
You are awesome man! Many thanks for this. _________________ On a unix system everything is a file ; if something is not a file , it is a proccess. |
|
| Back to top |
|
 |
|