I have set up a custom points system, where a viewer will get a point every 10 minutes, i was wondering if it would be possible to make a new command like !giveaway 10, where the 10 is the required amount of points to be drawn from the list of viewers

Also, I would like to know if it is possible to set up a giveaway like where the bot would message the channel saying "A giveaway has now been opened type !enter if you wanted to be entered and have over 10 points" Then when another mod types !giveaway close, it then finishes the giveaway and picks a random person that entered and has above the required token limit

This is the coding for the points system http://pastebin.com/SQS0yzVj, and i have already set up a giveaway system (with the help of others) where it just picks a random viewer and tells them that they win as seen here http://pastebin.com/JBXHhUJt