This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Big problem with timer

Old posts that have not been replied to for several years.
Locked
F
Fussi
Voice
Posts: 14
Joined: Thu Mar 10, 2005 1:19 pm
Contact:

Big problem with timer

Post by Fussi »

Hi

i start a timer in my .tcl script by:

Code: Select all

timer 10 refresh_keys
but it seems that the timer gets disabled randomly. Is there any known problem with the timers?
Or do i have to re-set the timer after every run?

I can upload the whole script if you want that.
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

eggdrop timers only run once, so yea you have to restart it after every run.
F
Fussi
Voice
Posts: 14
Joined: Thu Mar 10, 2005 1:19 pm
Contact:

Post by Fussi »

and what for

Code: Select all

bind timer - ?5* update_keys
?

Is it correct that this will execure "update_keys" every 10 minutes?
(01:05 01:15 01:25 01:35 ....)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Fussi wrote:and what for

Code: Select all

bind timer - ?5* update_keys
?

Is it correct that this will execure "update_keys" every 10 minutes?
(01:05 01:15 01:25 01:35 ....)
nope

Code: Select all

bind time - "?5 % % % %" update_keys
F
Fussi
Voice
Posts: 14
Joined: Thu Mar 10, 2005 1:19 pm
Contact:

Post by Fussi »

Thanks :)
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

no need for such a verbose mask... "?5*" is fine - the error was with the bind type ("timer"!="time")
Have you ever read "The Manual"?
Locked