how to maintain the timer

unknown

New member
Messages
267
Points
0
i would like to mantain the timer in the event

example like this:

jumper will run every 30 mins

00:30

01:30

02:30

03:30

etc etc how do i need to do that bcoz im new in scripting want to learn something

 
which one is right

OnClock0030:

OnClock0130:

or

OnHour0030:

OnHour0130:

can you tell me the difference?

 
http://herc.ws/wiki/OnClock#Label_Timers
 
your first post states every 30 minutes, but your example code is every hour.
so, instead of listing every possible time, you can just use like

-<tab>script<tab>Annoying Announcer<tab>-1,{OnMinute00:OnMinute30:   announce "I'm very annoying.",bc_all;   end;}
will announce every 30 minutes

 
Last edited by a moderator:
http://herc.ws/wiki/OnClock#Label_Timers

your first post states every 30 minutes, but your example code is every hour.

so, instead of listing every possible time, you can just use like

-<tab>script<tab>Annoying Announcer<tab>-1,{OnMinute00:OnMinute30:   announce "I'm very annoying.",bc_all;   end;}
will announce every 30 minutes
thats why i give an example of time, i need to activate the event every 30 mins with a gapped of 30mins also so that my other event with occur the same time

example

poring catcher every 15 mins

jumper every 30 mins

disguise every 45 mins

lucky pick every 60 mins

poring catcher 0015

jumper 0030

disguise 0045

luckypick 0100

poring catcher 0115

jumper 0130

disguise 0145

luckypick 0200

etc

etc

 
poring catcher every 15 mins

jumper every 30 mins

disguise every 45 mins

lucky pick every 60 mins

poring catcher 0015

jumper 0030

disguise 0045

luckypick 0100

poring catcher 0115

jumper 0130

disguise 0145

luckypick 0200
you are failing to understand, poring catcher is not every 15 minutes, its hourly at 15 minutes past the hour.

they are all hourly...

i need to activate the event every 30 mins with a gapped of 30mins

so, every 60 minutes then ? at 30 minutes past the hour.

you need to use OnMinute like i said before
default_smile.png


 
Back
Top