mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2017
Posts: 3
M
Mehhh Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Jun 2017
Posts: 3
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

Joined: Jun 2017
Posts: 3
M
Mehhh Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Jun 2017
Posts: 3
(How you go about it doesnt matter, if there are better ways then I mentioned above, go for it)

Joined: Jan 2017
Posts: 57
Babel fish
Offline
Babel fish
Joined: Jan 2017
Posts: 57
This code sounds pretty simple. Shouldn't take much more than a few hours. I'll work on it as soon as I can, but that'll be in about two hours from time of posting.

Joined: Jun 2017
Posts: 3
M
Mehhh Offline OP
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Jun 2017
Posts: 3
So that no one doubles up on this, this has already been spoken for.

Thanks!


Link Copied to Clipboard