I am after a script to run a raffle type program where buyers recieve a random ticket between a set of [login to view URL] price they pay is this random number. Obviously this number needs to be deleted from the database when used/paid [login to view URL] would be made through Paypal. Also, I need an affiliate program attached to allow affiliates to sell the " tickets" as well.