Eggdrop Tcl Archive

Home | Contact | Forum | Submit a Script

View All Information: Script Id1804

Script Name: WunderWeather Version: 5.03 Author: SpiKe^^ Script Date: 04/12/2017 Category: Not specified Downloads: 284 File Name: wunderweather.zip Short Description: The mobile feed at wunderground.com is active once again (Thanks Wunderground). International Weather script for Eggdrop, Based on Lilys Simple Weather. Users can now set/save their default weather location! Script does current weather conditions and the short forecast from the www.wunderground.com mobile page. Displays in both F/C and MPH/KPH.

Extended Description File

###############################################################
## WunderWeather  version 5.03                    04/12/2017 ##
## Original Script by (lily@disorg.net)                      ##
## Version 5.0+ updates by SpiKe^^      www.mytclscripts.com ##
##                                                           ##
## -> NEW IN VERSION 5.03 <-                                 ##
## - Users can now set/save their default weather location.  ##
##     example:  !w set miami, fl                            ##
##     To use that saved weather location, just type:  !w    ##
##     Does Not use the Eggdrop user file (saves to a file)  ##
## - Added metric conversion of most forecast strings.       ##
## - Script now allows multiple public weather triggers.     ##
##                                                           ##
################## - 5.0+ Version History - ###################
## VERSION 5.01  -  28/10/2017                               ##
## - All processes and globals are now in a namespace        ##
## - Replaced weather forecast (removed by Kiely Allen)      ##
## - Replaced metric setting (removed by Kiely &/or David)   ##
## - Added 3 new settings for removing colors and/or bolds   ##
## - Added Throttle Users - Thanks to user & speechles       ##
###############################################################

# Lilys Simple Weather (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 - 2023,  Greenwood Web Design