[Windows Mobile Apps and Games] baudac:
At first it appeared to work, but now several hours later I can seem to get the damn weather icon and temp reading to change,(it's been sitting at 66º/42º and a moon icon for a couple days). I have tried all of the editing tips mentioned in previous posts on the forum. I've even tried removing/reinstalling both mortscript, notiweather and s2u2. Even without mortscript and notiweather installed, the same exact icon/temp reading will display on s2u2 userweather, like a wallpaper.

I am using s2u2 v1.40 and mortscript 4.1 and here is my notiweather script. I am not sure where I went wrong.

# fetch weather from Yahoo, Parse, Update registry.
# Run every XX Hours
# Version 2.2 using Notification Queue, System Paths

# USER SETTINGS, CHANGE AS DESIRED

# how often to try and get the weather
delayHours = 2

# your location [url]http://weather.yahooapis.com/forecastrss?p=92553[/url]
location="92553"

# desired units for temp, f or c
units="f"

GetTime(hour,min,sec,day,month,year)

# set up for next notification
utime = TimeStamp() + (delayHours*60)*60

mort = SystemPath("ScriptExe") & "\MortScript.exe"
script = SystemPath("ScriptPath") & "\" & SystemPath("ScriptName") & SystemPath("ScriptExt")

# kill any lingering notification
RemoveNotifications("\Storage Card\Program Files\MortScript\MortScript.exe","\Windows\Startup\notiweather.mscr")
# set notify for myself at next time
RunAt( utime,"\Storage Card\Program Files\MortScript\MortScript.exe","\Windows\Startup\notiweather.mscr")

# Quietly ignore all errors
ErrorLevel("off")

# avoid registry writes if no change
curweather = RegRead("HKCU", "\Software\emerym\", "Weather")
currlweather = RegRead("HKCU", "\Software\A_C\S2U2\", "UserWeather")

weather = ""
rlweather = ""

# only bother if cellular radio is on
radio = RegRead("HKLM", "\System\State\Phone", "Cellular System Available")
if (radio > 0)

# try to connect
if (not InternetConnected( "http://www.google.com"))
Sleep(30000)
Connect("Internet")
Sleep(10000)
endif

# do we have internet?
#if (InternetConnected( "http://www.google.com"))
raw = ReadFile("http://weather.yahooapis.com/forecastrss?p="&location&"&u="&units)

if (Length(raw) < 20)
# something wrong!
Exit
endif

# find current and today forcast
notDone = 0
# get tomorrow's weather if hour past 4pm (>15)
if (hour > 15)
notDone = -1
endif
cond = ""
code = ""
ccond = ""
ccode = ""
temp = ""
lotemp = ""
hitemp = ""
tempat = ""
day = ""
ForEach line in split(raw,"^LF^",1)
#<yweather:condition text="Mostly Cloudy" code="28" temp="39" date="Fri, 21 Dec 2007 7:53 am PST" />
if (notDone < 1)
if (Find(line,"<yweather:condition"))
CallFunction("getValue", ccond, line, "text")
CallFunction("getValue", ccode, line, "code")
CallFunction("getValue", temp, line, "temp")
else
#<yweather:forecast day="Fri" date="21 Dec 2007"low="34" high="55" text="Mostly Sunny" code="34" />
if (Find(line,"<yweather:forecast"))
notDone=notDone+1
CallFunction("getValue", cond, line, "text")
CallFunction("getValue", code, line, "code")
CallFunction("getValue", hitemp, line, "high")
CallFunction("getValue", lotemp, line, "low")
CallFunction("getValue", day, line, "day")
endif
endif
endif
EndForEach

if (notDone ne 1)
weather="W|0|Data|Error"
rlweather="Data Error"
else
weather="C|"&ccode&"|"&temp&"º "&hitemp"º/"&lotemp&"º"
if (hour > 15)
rlweather=ccond&" "&temp&" " &day&": " & cond & " "&hitemp
else
rlweather=ccond&" "&temp&" Today: " & cond & " "&hitemp
endif
endif
else
# we must be in a black hole
weather="W|0|No|Network"
rlweather="No Network"
endif

if (curweather ne weather)
#for s2u2 UserWeather
RegWriteString("HKCU", "\Software\A_C\S2U2\", "UserWeather", weather)
endif
if (currlweather ne rlweather)
#for rltoday
RegWriteString("HKCU", "\Software\emerym\", "Weather", rlweather)
endif

# subroutine to pull value out of XML
Sub getValue
offset = Find(argv[1],argv[2]) + Length(argv[2])+2
endoff = find(argv[1], """", offset)
return(SubStr(argv[1], offset, endoff-offset)
EndSub