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.
Old posts that have not been replied to for several years.
Jag
Halfop
Posts: 90 Joined: Fri Sep 19, 2003 10:06 am
Post
by Jag » Thu Oct 30, 2003 3:19 pm
if i want to do a timer that every 30 mins the eggdrop will do something, how can i do that?
duofruo
Halfop
Posts: 94 Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:
Post
by duofruo » Thu Oct 30, 2003 3:42 pm
timer 30 procname
proc procname {bla bla what u need} {
puthelp "PRIVMSG ........"
timer 30 procname
}
Embrace The Inevitable
BarkerJr
Op
Posts: 104 Joined: Sun Mar 30, 2003 1:25 am
Contact:
Post
by BarkerJr » Fri Oct 31, 2003 1:38 am
And don't rehash! :P
M
Meltdown
Post
by Meltdown » Sun Nov 02, 2003 8:50 am
bind time - "30 * * * *" yourproc
bind time - "00 * * * *" yourproc
proc yourproc {min hour day moth year} { blabla }
executes yourproc at XX:00 and XX:30
Jag
Halfop
Posts: 90 Joined: Fri Sep 19, 2003 10:06 am
Post
by Jag » Sun Nov 02, 2003 9:11 am
10x
There is a way to do a timer on every five mins in "bind time"?
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Nov 02, 2003 10:00 am
Code: Select all
bind time - "?5 * * * *" yourproc
bind time - "00 * * * *" yourproc
Once the game is over, the king and the pawn go back in the same box.
Jag
Halfop
Posts: 90 Joined: Fri Sep 19, 2003 10:06 am
Post
by Jag » Sun Nov 02, 2003 10:03 am
10x
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Sun Nov 02, 2003 10:06 am
Or rather "?0 *".
Have you ever read "The Manual"?
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Nov 02, 2003 10:07 am
huh? for every 5 min how will "?0 *" work?
Once the game is over, the king and the pawn go back in the same box.
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Sun Nov 02, 2003 10:11 am
caesar wrote: huh? for every 5 min how will "?0 *" work?
You still need the "?5 *" mask too, but "00 *" doesn't match anything but the whole hour, so your two binds would trigger the proc at 00 05 15 25 35 45 and 55. (not exactly every 5 minutes
)
Btw: why do you insist on matching all the spaces?
Code: Select all
bind time - ?0* proc
bind time - ?5* proc
There's no need to match those spaces at the end. They're always there, so you don't need to verify it by including them in your mask.
Have you ever read "The Manual"?
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Nov 02, 2003 10:25 am
Well, it's "minute hour day month year" so yes, the "bind time - "00 * * * *" yourproc" should be correct. Anyway, if it's working then don't repair it.
Once the game is over, the king and the pawn go back in the same box.
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Sun Nov 02, 2003 10:37 am
caesar wrote: Well, it's "minute hour day month year" so yes, the "bind time - "00 * * * *" yourproc" should be correct. Anyway, if it's working then don't repair it.
If you want the proc triggered once every hour, sure
The request was for every 5 minutes. The only reason to keep the extra chars in the masks would be if you want to waste cpu matching those spaces that are always there.
bloated == broken imo.
Have you ever read "The Manual"?
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Sun Nov 02, 2003 10:47 am
Oh, thanks for the tip.
Once the game is over, the king and the pawn go back in the same box.