If someone is willing to write this for $20 USD via paypal, I would be most appreciative. I can't seem to wrap my head around this as a whole. Hopefully I have explained this well enough, if not, just ask for clarification?
every time a person says something longer than 20 characters in #specificchannelname it adds them to an array along with a time stamp.
every time the person talks again, it updates that timestamp
every 5 minutes it removes anyone from the array that has a timestamp older than 20 minutes
(basically maintaining a "who all has talked in the last 20ish minutes" list
==========
When its done purging the array of inactives, it will do a rand(1,20), and if its a 20:
open file codes.txt in mircs directory
grab last line of text from file
notice all users in array with that line of text
delete last line of text from file
if its not a 20, do nothing
done