Thanx
Mark
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
= \
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...
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
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...
Why not just grab the EGSH record from the weather services rather than
scraping the BBC-why web site?
> 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