[SimBot-commits] CVS: simbot/plugins weather.pl,1.90,1.91
Status: Abandoned
Brought to you by:
kstange
|
From: Kevin S. <ks...@us...> - 2005-05-14 22:41:37
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28019/plugins Modified Files: weather.pl Log Message: Wind Gusts seem like useful information for those of us in Chicago. Index: weather.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/weather.pl,v retrieving revision 1.90 retrieving revision 1.91 diff -u -d -p -r1.90 -r1.91 --- weather.pl 14 May 2005 00:28:25 -0000 1.90 +++ weather.pl 14 May 2005 22:41:27 -0000 1.91 @@ -428,6 +428,9 @@ sub got_metar { } else { $tmp .= ' variable winds'; } + if ($m->WIND_GUST_MPH) { + $tmp .= ' gusting to ' . &speed($m->WIND_GUST_MPH, 'MPH', $flags); + } push(@reply_with, $tmp); } |