options: state : NY county : New York County #state is the initials of your state #county is the full name of your county, including the word "county" command /print: trigger: $ thread set {_warning} to text from url "http://www.nws.noaa.gov/view/prodsByState.php?state={@state}&prodtype=warnings##SVRCAE" set {_comparison} to {_warning} set {_irreleventText.beginning} to first index of "
" in {_warning}
set {_first} to the first {_irreleventText.beginning} characters of {_warning}
replace all {_first} in {_comparison} with ""
set {_irreleventText.end} to first index of "" in {_comparison}
set {_comparison} to the first {_irreleventText.end} characters of {_comparison}
replace all {_last} in {_comparison} with ""
if {_comparison} contains "Warning":
if {_comparison} contains "{@county}":
broadcast "