I will gladly pay you Tuesday if you will contribute to the cost of my next alcoholic beverage [usually all of the cost of it, and then they sit down next to you, happy days!]
To express delight that something went awfully wrong for someone (they might have had it coming to them or deserved it in someway, or you might dislike them). For example if an insult they used backfired.