Fw: [PHP] Timer
| From: | Kevin Stone | Date: | Tue, 16 Jul 2002 17:31:59 +0000 |
| Subject: | Fw: [PHP] Timer | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107934@lists.php.net to get a copy of this message | ||
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" <tomi@mediasoft.ro>
To: <php-general@lists.php.net>
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
>