Jump to content
  • 0

Set Timer Question


Rain408

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

My question is how do I know the time on the timer.

Example dice script:

 

OnMinute45:
announce "Mr. Dice: The Dice event will be starting shortly.",0;
sleep2 10000;
announce "Mr. Dice: Those who want to play, please proceed to the center of Prontera 156 159.",0;
sleep2 10000;
announce "Mr. Dice: After 1 Minute the Portal will close.",0;
sleep2 10000;
announce "Mr. Dice: Please go to the middle of Prontera 156 159 and enter the Warp Portal now if you want to join.",0;
enablenpc "prtevent";
initnpctimer;
end;
 
Sooo.... where the fck do i set the time? I thought time goes by 6 digits i.e Hrs/Mins/Seconds
 
In the entire script, all the numbers are of 5 digits.
 
Hard life -_-.
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

sleep or sleep2 use miliseconds.

 

1000 = 1second

60000 = 1 minute

3600000 = 1 hour

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

sleep or sleep2 use miliseconds.

 

1000 = 1second

60000 = 1 minute

3600000 = 1 hour

thanks, i just figure out -_- OnClock xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...