Eggdrop Tcl Archive

Home | Contact | Forum | Submit a Script

View All Information: Script Id1790

Script Name: Wunderground Weather Version: 4.7 Authors: Lily, et al Script Date: 12/10/2017 Category: Not specified Downloads: 364 File Name: weather4.7.zip Short Description: Wunderground Weather - Original Script by (lily@disorg.net). International Weather script for Eggdrop bots. Displays in both F/C and MPH/KPH. Will return weather from www.wunderground.com . Requires TCL8.0 or greater, has been tested on Eggdrop 1.8.0 & 1.6.21

Extended Description File

################################################
## Wunderground Weather  ver 4.7  12/10/2017  ##
## Original Script by (lily@disorg.net)       ##
################################################

# International Weather script for Eggdrop.
# Displays in both F/C and MPH/KPH
# Will return weather from www.wunderground.com 
# Requires TCL8.0 or greater
# Has been tested on Eggdrop 1.8.0 and 1.6.21

# You must ".chanset #channel +weather" for each chan
# you wish to use this in.

# Usage: !w <input> 
# Input can be <zip> <city, st> <city, country> <airport code> <pws>
# To use PWS: !w pws:yourwundergroundpws

# VERSION 4.0 - output string rewrite 
# VERSION 4.2 - http::cleanup, agent string update
# VERSION 4.3 - Single tag change in mobile.wunderground source
#               (first in 4-ish years).
# VERSION 4.4 - fixed no windm var bug. 
# VERSION 4.5 - Single tag change in mobile.wunderground source
#               for forecast. 
# VERSION 4.6 - Made default scale configurable

# VERSION 4.6+ - Edits/Updates by Kiely Allen and David Moore
# Edited Feb 01, 2014 - Kiely Allen:
#  - Removed Forecast (may tidy up output later and add it again)
#  - Added Barometer/Pressure (Rising & Falling)
#  - Added Windchill & Fixed Output Tidyness
# Edited Feb 04, 2014 - David Moore:
#  - Color Changing Temperature & Aliases
#  - Don't Show Windchill If There Is None
# Edited Feb 09, 2014 - Kiely Allen/David Moore
#  - Added Wind Gust, Cleaned Up Code, Fixed Multiple Choices Bug
# Edited Feb 10, 2014 - David Moore
#  - Don't show windchill if $windcf/$windcc is <0.5F than $tempf
#    Wind would often be 'calm' and windchill would show 0.1-0.5F±
# Edited Feb 13, 2014 - Kiely Allen/David Moore
#  - Remove metric related config checks, all output includes
#    both imperial and metric.
#  - Don't show windchill if windchill is higher than $tempf,
#    windchills under 1F of $tempf are insignificant
# Edited Feb 14, 2014 - Kiely Allen
#  - Removed custom !ws as it didn't work as exoected,
#    (need to fix missing $windgm error)
# Edited Jun 12, 2014 - Kiely Allen
#  - Fixed $color extending to all text after $tempf with \003

# VERSION 4.7 - Edits/Updates made by SpiKe^^ - Oct 12, 2017
#  Fixed two display issues with "Wind: ...gusting to..."
#  - Added code to hide wind gusting string if have none.
#    ( hides this: gusting to 0.0MPH (0.0KPH) )
#  - Fixed a color-code issue in the display string used
#    when showing "Wind: ...gusting to..."

####################################################################

package require http
setudef flag weather

Latest News

27 Dec 2018 Eggdrop v1.8.4 Stable Release 22 Dec 2018 Eggdrop v1.8.4 Release Candidate 3 15 Dec 2018 Eggdrop v1.8.4 Release Candidate 2 12 Dec 2018 Eggdrop v1.8.4 Release Candidate 1 04 Feb 2018 Eggdrop v1.8.3 Stable Release 13 Jan 2018 Eggdrop v1.8.3 Release Candidate 2

Resources

Eggdrop Community Forum Download Eggdrop Eggdrop Set-up Using your Eggdrop Enhancing Eggdrop Eggdrop Tcl Commands Eggdrop 1.8.3 Documents Eggdrop Config File Unix Shell Commands
Donate Help TclArchive.org with server costs. By donating, you help keep these scripts available to everyone. PayPal

© 2015 - 2025,  Greenwood Web Design