on 1:text:!weather*:#:{
if ($network == BlakeNET) {
if ($com(weather)) {
var %zip = $2
noop $comcall(weather,$weatherechotwo(%zip,$nick),GetWeather,3,bstr,%zip)
}
else {
comopen weather weather.GWeather
var %zip = $2
noop $comcall(weather,$weatherechotwo(%zip,$nick),GetWeather,3,bstr,%zip)
}
}
}
alias weatherechotwo {
var %weather = $com(weather).result
msg botserv say $chan Weather for $1 requested by $2 -- %weather
}