Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Weather info script or bot

202 views
Skip to first unread message

Marky

unread,
Dec 30, 2001, 9:45:02 AM12/30/01
to
Anyone know of a script that will display weather info when given
either zip code or city,state?

Thanx
Mark

BarkerJr

unread,
Dec 30, 2001, 11:27:53 AM12/30/01
to
> Anyone know of a script that will display weather info when given
> either zip code or city,state?

I've been using weather 3.2, which will do zipcodes, city/state, or city
country:
http://www.egghelp.org/cgi-bin/tclarchive.tcl?strings=weather
It gets the weather from wunderground.com

-BarkerJr


Lord^Dave

unread,
Dec 30, 2001, 12:55:11 PM12/30/01
to
ive seen a tcl addon that does it

= \

if you know how to script you can use http protocol and the weather thingy
at www.yahoo.com

"Marky" <72de...@suscom.net> wrote in message
news:5u9u2u8q0tgbf9qn7...@4ax.com...

diddy

unread,
Dec 30, 2001, 1:07:57 PM12/30/01
to
Here is a mirc one for east england.

on *:text:!Warning*:#:{ if ($timer(timernoflood) == $null) { set
%warn.channel $chan | warning.test | .timernoflood 1 10 /set -u %temp
nothing } }

alias warning.test { sockopen weatherwarn www.bbc.co.uk 80 | remove
weathertemp.txt }

on *:sockopen:weatherwarn:{ sockwrite -n weatherwarn GET
/weather/warning.shtml | echo -s Getting weather warnings }

on *:sockread:weatherwarn:{
if ($sockerr > 0) { return }
sockread %temp
while ($sockbr != 0) {
if (%temp == $null) { %temp = - }
if (%print == on) {
if (*</FONT>* iswm %temp) { set %print off }
else { write weathertemp.txt $remove(%temp,<br>) }
}
if (*<FONT FACE="Arial,Helvetica" SIZE="2">* iswm %temp) { set
%print on }
sockread %temp
}
}

on *:sockclose:weatherwarn:{ echo -s Operation Complete | .play
%warn.channel weathertemp.txt }
;http://www.bbc.co.uk/weather/ukweather/southeast/index.shtml
on *:text:!east*:#:{ if ($timer(timernoflood) == $null) { set
%east.channel $chan | east.test | .timernoflood 1 10 /set -u %temp
nothing } }

alias east.test { sockopen weathereast www.bbc.co.uk 80 | remove
weathereast.txt }

on *:sockopen:weathereast:{ sockwrite -n weathereast GET
weather/ukweather/east/index.shtm | echo -s Getting weather predictions
for east }

on *:sockread:weathereast:{
if ($sockerr > 0) { return }
sockread %temp
while ($sockbr != 0) {
if (%temp == $null) { %temp = - }
if (%print == on) {
if (*</FONT>* iswm %temp) { set %print off }
else { write weathereast.txt $remove(%temp,<br>) }
}
if (*<FONT FACE="Arial,Helvetica" SIZE="2">* iswm %temp) { set
%print on }
sockread %temp
}
}

on *:sockclose:weathereast:{ echo -s Operation Complete | .play
%east.channel weathereast.txt }
;http://www.bbc.co.uk/weather/ukweather/southeast/index.shtml

Lord^Dave

unread,
Dec 30, 2001, 10:12:26 PM12/30/01
to
im sure there enough bored people out there that someone made on for global
: )


http://www.google.com/search?hl=en&q=mIRC+Weather+Addon

http://www.mircscripts.org/search.php

"diddy" <di...@nospam.diddy.net> wrote in message
news:3C2F57FD...@nospam.diddy.net...

MJ Ray

unread,
Jan 1, 2002, 4:23:49 PM1/1/02
to
diddy <di...@nospam.diddy.net> wrote:
>Here is a mirc one for east england.

Why not just grab the EGSH record from the weather services rather than
scraping the BBC-why web site?

lin8080

unread,
Jan 1, 2002, 7:53:15 PM1/1/02
to
diddy schrieb:

> Here is a mirc one for east england.

> on *:sockclose:weathereast:{ echo -s Operation Complete | .play
> %east.channel weathereast.txt }
> ;http://www.bbc.co.uk/weather/ukweather/southeast/index.shtml

> Lord^Dave wrote:

> > ive seen a tcl addon that does it

> > if you know how to script you can use http protocol and the weather thingy
> > at www.yahoo.com

> > "Marky" <72de...@suscom.net> wrote in message
> > news:5u9u2u8q0tgbf9qn7...@4ax.com...
> > > Anyone know of a script that will display weather info when given
> > > either zip code or city,state?

hui. take a look at
<1009921326.11331....@news.demon.co.uk>
Refs
<23c27...@corp.newsgroups.com>
<3c29...@news.victoria.tc.ca>
<3c2a5...@corp.newsgroups.com>
<662dfbc2.01122...@posting.google.com>

bye


dogg...@gmail.com

unread,
Aug 6, 2014, 9:53:01 PM8/6/14
to
Is there one for Alabama and how would I place the script in my chat?
Pam-Doggirl3
0 new messages