CMX_CMGSCCC wrote
Quote:
1) It counts the number of tickets for the currently expiring lottery (if any tickets are purchased and if the lottery is expired)
2) It randomly chooses a number between 0 and the number of tickets.
3) It pulls that entry from the MySQL database of the tickets, and thats the winner.
|
in another post on about page 2 or 3 of this forum, the winner of the lottery should also be pm'd that they won.
As standard you have 2 lottery options.. weekly and daily when one of them is purchased it starts a countdown period dependant on which type was purchase, you can also create your own lottery types.