Jump to content

Utility: getStartOfDayTick function


sader1992

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1691
  • Reputation:   716
  • Joined:  12/21/14
  • Last Seen:  

getStartOfDayTick function


getStartOfDayTick(<Day of the week>)
This function returns what the timetick would be on the provided next day of the week
Accept: SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY

 

DO NOT PM ME FOR ERRORS

Use the forum post to report for any bugs and errors HERE(Click Me)

 

I recommend to copy/paste the function to the end of the file 'rathena/npc/other/Global_Functions.txt'
This will make the function usable without 'callfunc' command
 if you used the function inside an item or didn't put it to load first you will
 need to use 'callfunc("getStartOfDayTick", <Day of the week>)' instead of 'getStartOfDayTick(<Day of the week>)'

 

logo.png.17b58a642746b9c3767aebe3af2cef8e.png

https://sader1992.com/


  • Submitter
  • Submitted
    08/15/24
  • Category
  • Video
  • Content Author
    sader1992

 

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
Reply to this topic...

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