Anony Mous: Proper prayer is basically a form of meditation.
That's how I see it. I don't know how beneficial 'self-talk' is, but I find it useful at times in helping me focus on goals and/or get my thoughts in order. I think it served the same purpose when I believed in god, I just assumed that it worked in a different way.
I find that many people interpret prayer the same way they interpret scripture. Focus on the things that reinforce it, and redefine anything that might cast doubt. In other words- if you prayed for something and got it, it's proof that prayer works. If you prayed and nothing seems to be happening, it's proof that prayer works, because god is just telling you that you need to be patient. If you pray for something and get something different, it's proof that prayer works, because god knew what you needed and provided it. Even tragedies can be explained away as evidence that god listened to the prayer. No explanation seems too strange or outrageous, as long as you can maintain the belief that god is answering you.