Jump to content
  • 0
Sign in to follow this  
unknown

how to maintain the timer

Question

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

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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 :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.