That gives me a better idea as to what you want, and I'll see what I can do about putting code up within a day or two.

On a slightly unrelated topic, there's no need to swear in the forums, as no one deserves that abuse, and swearing at the helpers will just make it that much more likely for the helpers to refuse to help you in the future.

You really should read up in the help file, to learn how to script yourself, as this forum is supposed to be for assisting you in writing the code, not writing it for you.