eqrunner commented on a Page, Weather script for mIRC  -  Jul 02, 2012

@Hari_Seldon In the future, You just need to change the two at the beginning (on:INPUT and on:Text),

 on $*:INPUT:#: {

if ($regex($1,/^[@](w|weather|forecast|forecast5|alert|alerts|alertinfo|alertsinfo|time|current)/Si)) wunderground $1-
}

on $*:text:/^[@](w|weather|forecast|forecast5|alert|alerts|alertinfo|alertsinfo|time|current)/Si:#: {
wunderground $1-
} 

and then modify just the ";---Command Prep." area.
You can simply add the following, and the rest of the code will work just fine.:

;---Command Prep. Checks command to see which data file it will be pulling from depending on command entered ---
if (%wu_command == @w) || (%wu_command == @weather)  set %wu_command !weather
if (%wu_command == @forecast) set %wu_command !forecast
if (%wu_command == @forecast5) set %wu_command !forecast5
if (%wu_command == @alert) set %wu_command !alerts
if (%wu_command == @alertsinfo) || (%wu_command == @alertinfo) set %wu_command !alertinfo 
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.