This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

murf's weather script v2112 =p

Support & discussion of released scripts, and announcements of new releases.
r
redtube
Voice
Posts: 10
Joined: Wed Mar 01, 2006 4:01 pm

Post by redtube »

ok if i see it again i will try get the source page
also did you check your forum private mailbox i sent sommat on Sun Aug 06, 2006 6:55 am about is it possible to make it print out in a different text color in channel other than black from the script.
cheers
Dave R
west london
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

I did send a reply to your question about adding colors, someone else told me they were having problems with the private msg thing too so I can only assume the msg got munched. Basically what I said was to look for the lines with:

$::wz_outmeth and then add your color codes in those lines, like:

$::wz_outmeth "PRIVMSG $nick :\002Colored output\002"

or

$::wz_outmeth "$outtarg :\002More colored text\002"


So basically anything after the colon : and before the end-quote " can be colored.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v2112.3l

Post by rosc2112 »

Sep 21 2006 - Another minor fix to handle barometer reports of "- / -" which was causing the bot to hang. :/
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v3m

Post by rosc2112 »

Minor update to rename some vars that conflicted with a different script.
http://members.dandy.net/~fbn/weather_2112.3.tcl.txt
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v4a new features!

Post by rosc2112 »

NEW OPTION: -c switch, 'set wz_default_cl' option and .cloud binding for showing clouds/visibility/ceiling data

Changes:
Oct 15 2006 - Added new options for 'clouds/visibility.' Added 'snow records' to precipitation data, added UV to solar data. Added another error test for <title> since Wunderground changed it..

http://members.dandy.net/~fbn/weather_2112.3.tcl.txt
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Just noticed today the html changed on wunderground for the visible light. Fix uploaded to my site (above) and the archive.
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

a friendly "heads up"

Post by DragnLord »

I've had a few people tell me that your script isn't working recently.
There have been website changes to wunderground in the beginning of February, that could be the cause.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Yeah I know, I thought they were done making changes to their html templates, but I was wrong. I'll have a fix soon (when I get back online.)
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Looks like they changed the html again... this is getting tedious.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Fixed again.
e
edegroot
Voice
Posts: 4
Joined: Fri Mar 07, 2008 7:26 am

Post by edegroot »

Hi,

The Barometer info does not work correctly..

Barometer: 29.91in./hPa.

From other script: Pressure: 29.90 in/1012.4 hPa
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Typo fixed. Uploaded.

Change:

Code: Select all

if {$pressure != ""} {
		set baro1 "[lindex $pressure 0]in."
		set baro2 "[lindex $pressure 12]hPa."
to

Code: Select all

if {$pressure != ""} {
		set baro1 "[lindex $pressure 0]in."
		set baro2 "[lindex $pressure 1]hPa."
e
edegroot
Voice
Posts: 4
Joined: Fri Mar 07, 2008 7:26 am

Post by edegroot »

thanx.. fix is working :)
k
kanin
Voice
Posts: 1
Joined: Fri Mar 14, 2008 8:00 am

Post by kanin »

Hi, sorry to bother you, when attempting to retrieve the weather for my city (which is set as my default) Sometimes it works fine. And other times the bot hangs for a second, before I see

[08:08] Tcl error [pub_wz]: list element in quotes followed by ";" instead of space

It's still working for zip codes, but otherwise when trying to retrieve the weather for my city In canada, I get the error as shown above. (winnipeg ,manitoba, canada) and trying .wz winnipeg ca, and .wz winnipeg,mn sometimes work, sometimes doesn't
Post Reply