Surprise, surprise. I could not find the answer to this very basic question in the Help File.
How do I block the fact that I am online so that I will not receive IMs except when it suits me.