Could you be a bit more specific about what exactly isn't working? When I run the last snippet I posted, it works flawlessly and I'm on the same version of Messenger as well (WLM 2009).
- Are you sure you saved your script files as Unicode (UCS-2 Little Endian)?
- Does the script debugger window report any errors?
- Have you tried debugging it by adding some Debug.Trace() lines to see what the value of the variables are at certain points?