I thought I put in a request and maybe someone might be able to help. Does anyone know how to make a Raffle or a auction script. Ether would be fairly useful.
I think I may be able to do one of them, though I'm not exactly sure which would be easier to achieve. A raffle script might be, since users would buy tickets and, on a certain date, the user with the most tickets is picked correct?
If I remember correctly you buy more tickets it increases a person odds of winning. The money put into the raffle collects as a Jackpot. Most sites I've seen limit it to 50 tickets.
Maybe there should be a tax on so it also takes money out. It's not necessary just a idea.
To give you an update on what I have so far, I managed to make the base of the script so a user can buy a set number of tickets from a dropdown list and the tickets are added to the database. The script would pick a random user, but some users would have higher odds of winning since they have more tickets in the database. Right now I need to work on adding money to the jackpot and cleaning up the script. I'm trying to figure out how "for loops" can work with the mysidia script since it is getting pretty long with duplicate lines of code adding database entries depending on how many tickets the user buys. I should be able to finish it before long though.
Would you mind getting a version without adminCP control? It's taking much longer than I thought to finish that part of the script, though the rest of it is functioning.