This is a quote from another user, this is exactly what i want:
Minecraft Voting system
I'm searching for a three part script. It will fit in a webpage, wordpress. The first part will ask the user for a Minecraft player name. After, when he validates, he is shown multiple links, he needs to click them all to proceed to next step and claim a reward. Only one IP can vote per 24 hours. Once he collects his reward, input is sent to a mysql database with the username he provided and the amount of votes he has.