So basically I want to create a giveaway script that writes to a file.
So, when I do !giveaway the bot will say
"A Giveaway has been opened on # say !enter to join"
This will then allow all the people in the IRC chat to do !enter and their $nick will be written to a file.
Then I do !winner, and the bot will say
"And the winner is (RANDOM USERNAME FROM LIST)"
Then I will do !clear and it will clear the file it was writing it to?
Any help would be super awesome, I will update this as people help hopefully creating a full script eventually.