Question: A husband gave 1 divorce to his wife but took her back the same night. Then after 4 years he gave 2 divorces to his wife as a joke, but had said the clear words meaning divorce, will the talaq be effective?
Answer: If he said what effectively means divorce, such as if he said, "I hereby divorce you twice" then this is two divorces plus the previous one. This is altogether 3, which means there is not return. Joking is not an excuse. Divorce and marriage happen if their conditions are met, whether one is serious or not.