Jump to content
  • 0

How to read this queries?..?


Checkmate

Question


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Hye all... Can anyone help me how to read this.. Or can give some explanation about this?..?

 

 

 

if((gettime(6)==10 && (gettime(5)==24 || gettime(5)==25))==0) {

 

What actually that script saying?..?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1131
  • Joined:  05/27/12
  • Last Seen:  

See: Gettime

There's also doc/script_commands.txt for any questions about script commands.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

See: Gettime

There's also doc/script_commands.txt for any questions about script commands. 

 

Thx sir..... Im looking for this explanation...

But how to detect the number if 

gettime(6)==10

Cuz there was no 10 in the list?..?

 

 

 

  1. Seconds (0 - 59)
  2. Minutes (0 - 59)
  3. Hours (0 - 23)
  4. Day of Week (0: Sunday - 6: Saturday)
  5. Day of Month (1 - 31)
  6. Month (1 - 12)
  7. Year (1970 - 2038)
  8. Day of Year (1 - 366)
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   13
  • Joined:  11/21/11
  • Last Seen:  

gettime(6)==10

 

(6) is Month

and 10 is referred to october

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

gettime(6)==10

 

(6) is Month

and 10 is referred to october

 

Thx sir for this... Now i got some explanation... THx for both of you for showing me how to read this.. ^ ^ 

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...