on 1:NOTICE:!weather*:*:{
if ($com(weather)) {
var %zip = $2
noop $com(weather,GetWeather,3,bstr,%zip)
var %weather = $com(weather).result
notice $nick %weather
echo -a $nick %weather
}
else {
comopen weather weather.GWeather
var %zip = $2
noop $com(weather,GetWeather,3,bstr,%zip)
var %weather = $com(weather).result
notice $nick %weather
echo -a $nick %weather
}
}