Thanks for the help guys. Cookie's solution appears to have worked
I'm reading a comma seperated list from the registry and reading it into an array and then placing it into a List View box thingy
This needs to be done ASAP as the window is opened when the script starts... (it then gets hidden until it's needed)
Like I said, if(Messenger.MyStatus > 0) seems to work for what I want at the moment... Thanks