Give procedures name. nobody here is guess what
ha, it'd be lottery system, which had been implemented in this http://forum.ragezone.com/f790/release-afterlife-mmo-source-code-1147049/
Only got these procedures, you will not force the lottery system to work. You will still need to get the winner automatically, which involves an additional job script on the side of the SQL Agentdid someone like to share these two procedures for lottery.