I want people to talk to me but when they do I want them to leave me alone
Why do you change your mind like that when they talk to you?
They talk too much at times.
If you want people to talk to you, you can't also want them to leave you alone. Either you don't talk to them at all or engage them fully.
I cannot make up my mind here.
Try for one conversation to fully engage yourself in the conversation. Even if it does annoy you, you can find out how you feel about talking.