Following on from the link DTCwordfan posted (on page 2)
http://answers.yahoo.com/question/index?qid=20080904235949AAXBecF
The 'best answer' closes with the following:
//
“Even though you make many prayers, I am not listening,” Jehovah once told the Israelites. Pointing out the reason, he continued: “With bloodshed your very hands have become filled.” (Isaiah 1:15) How could anyone ignore Jehovah’s law and yet have an audience with him? A Bible proverb gives a clear answer, saying: “He that is turning his ear away from hearing the law—even his prayer is something detestable.”—Proverbs 28:9.
The Bible gives another reason why some prayers are not heard, when it says: “You do ask, and yet you do not receive, because you are asking for a wrong purpose, that you may expend it upon your cravings for sensual pleasure.” (James 4:3) No, Jehovah will not answer prayers for the satisfying of wrong desires. We must also remember that God is not taking orders from humans, so to speak. He is the One who decides how he will answer our prayers.
Source:
Bible study and I asked a JW
//
The first paragraph just confirms what you might already suspect: -
prayers from commandment breakers will be ignored
The second paragraph kind of chimes with the way I think, only it's far too specific, fixating on "sensual pleasure" whereas I would have thought that all prayer in the hope of personal gain would class as avarice and thus lump the perpetrator in with the class referenced in the previous paragraph.
I'm unsure whether praying for one's own life to be spared counts as 'personal gain' though. If so, that doesn't leave too many other options - praying for good things to happen to a third party, maybe? Praying for world peace, perhaps?
For the time bing, I'm happy to join the local cult and also pray that goodlife quits using AB as his/her pulpit.