The issue is I don't want to send it back to the address that sent the bet. I'd like the user to put in the address that they want the payout sent to. As of right now here's more or less the flow.
User comes to site, submits numbers and an address to send payout.
Bet is received and the satoshi picks are selected and then counts what it matched
Once bet has been confirmed, payout is sent to the payout address
If anyone has suggestions or can point me to more resources, I'd be more than happy to set something up. BTW I like how BTCMultiplier has a list of bets on their front page. I want to add something similar. I'll have more time Friday evening to push updates.
Thanks