Thanks everyone for your suggestions. While none directly answered my original question about what timers do during sim restarts, a number of suggestions gave me ideas for workarounds. Thanks again for the help.
-Fred Allandale
> Date: Wed, 21 Mar 2012 12:47:20 -0600
> From: Fred Allandale <Fred_Al...@msn.com>
> Subject: [slscripters] Status of timer during sim restart
>
> I am trying to make a script auto-recover from a sim restart. ?I have a
> 'changed' event that looks for CHANGED_REGION_START and runs some recovery
> code, but it does not appear to be triggering after a restart. ?I also have
> a 30 second timer running. ?If the 'timer' event ever triggers, the script
> goes to a different state (called 'faulted') that does not have a 'changed'
> event. The timer is used to trap failed responses from other scripts and/or
> dataserver events and is normally restarted every few seconds, so it never
> comes close to timing out during normal operation. ?After a restart, however
> the 'timer' event appears to be triggering before the 'changed' event,
> sending the script into the 'faulted' state instead of executing the
> recovery code. I would have expected the timer to freeze during the sim down
> time so the 'changed' event would trigger before the timer would time out.
>
> Does anyone have any insight into what happens to a running timer during the
> down time when a sim is restarting, if that down time is longer than the
> timer setting? ?Will the 'timer' event be triggered immediately upon restart
> or will the timer simply pick up timing where it left off?