I hope you understand that getting back items in PvP situations is very difficult because the other party probably will deny giving back anything. (Gambling is also PvP) By any chance, you don't have a screenshot or video of the rules that you've used?
Were you spamming mouseclicks for the whole time or only during the end? Can you maybe reproduce the bug?