How i know when 2 mins ellapsed?
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
013f01c22cee$b3e17110$6501a8c0@kevin">news:013f01c22cee$b3e17110$6501a8c0@kevin...
> Store a timestamp in a file.  When the bot is activated retrieve the old
> timestamp and calculate the difference between then and how.  Store that
> value in another file or database.  Update the file with a fresh
timestamp.
> -Kevin
>
> ----- Original Message -----
> From: "Thomas "omega" Henning" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 16, 2002 11:22 AM
> Subject: [PHP] Timer
>
>
> > Is this possible:
> >
> > Im making a bot in PHP and i need a timer. Lets say noone ses anything
for
> > 2mins in the channel after that the bot ses something. And if the bot
> > recieves an msg the timer clears. Is this possible 2 be done?
> >
> > Thomas "omega" Henning
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to