Posted by member 12025 on 2003-10-31 23:09:50 link
AFAIK, the evars still don't change from mzScript. Based on beta11's readme, it is planned for 0.9's release. beta12's readme didn't seem to mention it (that I saw), and I haven't tested it, as I'm somewhat loathe to use it, given that shellfront doesn't have it for download (I know I could set loose-screws as a site in my RC, but still...).
That will load the variables as evars for use with start coordinate and image settings.
...then try something like that (that may not be perfect, as I don't know the specifics of your situation, and coudn't test it, so may have an error or two I didn't catch). I couldn't find the weather module you were using (well, with a bang called !UpdateWeather), which would also help solve the problem.
Hope that helps
*mzVarFile "$ConfigDir$vars.rc"
include "$ConfigDir$vars.rc"
include "$ConfigDir$vars.rc"
That will load the variables as evars for use with start coordinate and image settings.
*script bang !prevImg
*script exec !varset t $currentImg$
*script exec !UpdateWeather
*script GotoIf ( "%{SatImg}" = "ellite" ) set3
*script GotoIf ( "%{SatImg}" = "isobar" ) set1
*script GotoIf ( "%{SatImg}" = "radar" ) set2
*script Label set1
*script exec !varSet SatImg "ellite" ;Satellite Photo
*script Goto Imgupdate
*script Label set2
*script exec !varSet SatImg "isobar" ;Isobar Photo
*script Goto Imgupdate
*script Label set3
*script exec !varSet SatImg "radar" ;Radar Photo
*script Label ImgUpdate
*script exec !BangToChangeImageUsedInModule $WeatherDir$temp\sat%{SatImg}.png
*script exec !UpdateWeather ; ????
*script ~bang
*script exec !varset t $currentImg$
*script exec !UpdateWeather
*script GotoIf ( "%{SatImg}" = "ellite" ) set3
*script GotoIf ( "%{SatImg}" = "isobar" ) set1
*script GotoIf ( "%{SatImg}" = "radar" ) set2
*script Label set1
*script exec !varSet SatImg "ellite" ;Satellite Photo
*script Goto Imgupdate
*script Label set2
*script exec !varSet SatImg "isobar" ;Isobar Photo
*script Goto Imgupdate
*script Label set3
*script exec !varSet SatImg "radar" ;Radar Photo
*script Label ImgUpdate
*script exec !BangToChangeImageUsedInModule $WeatherDir$temp\sat%{SatImg}.png
*script exec !UpdateWeather ; ????
*script ~bang
...then try something like that (that may not be perfect, as I don't know the specifics of your situation, and coudn't test it, so may have an error or two I didn't catch). I couldn't find the weather module you were using (well, with a bang called !UpdateWeather), which would also help solve the problem.
Hope that helps