Who just send 0.01 BTC to my adress?
How do I send back the winnings to the right address?
Ask for a return address.
There is no "sender address" on the protocoll level [1].
I hope to get a system which can simply see: 95 people entered into the raffle, 95 recieving addresses and then return the full pot back to the winner.
What would you do if the transaction has inputs from 10 "addresses"?
Any ideas?
Others have failed with this approach in the past, why repeat it? Let the user create an account, deposit to your site, do the gamlbing offchain and let them withdraw when they want.
[1] https://bitcointalksearch.org/topic/m.9877226