Re: Timer

From: Date: Tue, 16 Jul 2002 17:48:02 +0000
Subject: Re: Timer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107938@lists.php.net to get a copy of this message
How i know when 2 mins ellapsed? "Kevin Stone" <kevin@helpelf.com> wrote in message 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" <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 > > >

« previous php.general (#107938) next »