Posted by member 51749 on 2003-11-11 11:16:58 link

oh, and you should probably be aware of these
*script bang !GetWeather
*script exec wscript $WeatherScript$
*script exec !TimerReset gwt
*script ~bang

*script bang !UpdateWeather
*script exec !reload
*script exec !gwtxtRefresh
*script exec !gwimgRefresh
*script exec !gwSatRefresh
*script exec !gwIsoRefresh
*script exec !gwRadRefresh
*script ~bang

*script start !varSet currentImg "1"

;------------------------------------------------------------------------------
*script bang !nextImg
*script GotoIf ( "%[currentImg]" = "1" ) set2
*script GotoIf ( "%[currentImg]" = "2" ) set3
*script GotoIf ( "%[currentImg]" = "3" ) set1

*script Label set1
*script exec !varset currentImg "1"
*script Goto Imgupdate

*script Label set2
*script exec !varset currentImg "2"
*script Goto Imgupdate

*script Label set3
*script exec !varset currentImg "3"

*script Label ImgUpdate
*script exec !UpdateWeather
*script ~bang
;------------------------------------------------------------------------------
*script bang !prevImg
*script GotoIf ( "%[currentImg]" = "1" ) set3
*script GotoIf ( "%[currentImg]" = "2" ) set1
*script GotoIf ( "%[currentImg]" = "3" ) set2

*script Label set1
*script exec !varset currentImg "1"
*script Goto Imgupdate

*script Label set2
*script exec !varset currentImg "2"
*script Goto Imgupdate

*script Label set3
*script exec !varset currentImg "3"

*script Label ImgUpdate
*script exec !UpdateWeather
*script ~bang
;------------------------------------------------------------------------------
*script bang !SatImgShow
*script exec !ifEq currentImg "1" |gwSatShow
*script exec !ifEq currentImg "2" |gwIsoShow
*script exec !ifEq currentImg "3" |gwRadShow
*script ~bang

*script bang !SatImgHide
*script exec !gwSatHide
*script exec !gwIsoHide
*script exec !gwRadHide
*script ~bang

*script bang !CheckCon
*script exec !Connected [!GetWeather][.none]
*script ~bang