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.

bind time -

Old posts that have not been replied to for several years.
Locked
L
LanEvo
Voice
Posts: 18
Joined: Sun May 30, 2004 11:17 pm

bind time -

Post by LanEvo »

what's the bind time to make the eggdrop do the proc every 2 hours? can i do bind time - {* 2 * * *} up to 24?

nvm i think it's

bind time - {00 00 ** ** **} <proc>
bind time - {00 02 ** ** **} <proc>
bind time - {00 04 ** ** **} <proc>
bind time - {00 06 ** ** **} <proc>
bind time - {00 08 ** ** **} <proc>
bind time - {00 10 ** ** **} <proc>
bind time - {00 12 ** ** **} <proc>
bind time - {00 14 ** ** **} <proc>
bind time - {00 16 ** ** **} <proc>
bind time - {00 18 ** ** **} <proc>
bind time - {00 20 ** ** **} <proc>
bind time - {00 22 ** ** **} <proc>
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

you will be probably best to bind "00 *" and check if { ![expr $hour % 2] } { do stuff }
else you would need 5 binds:
"00 ?0 *"
"00 ?2 *"
"00 ?4 *"
"00 ?6 *"
"00 ?8 *"
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

either that or use a timer.

Code: Select all

timer 120 {stuff in here}
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Locked