Issue information

Issue ID
#946
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 10, 2008 11:56
Last Post
Hercules Elf Bot
Feb 10, 2008 11:56
Confirmation
N/A

Hercules Elf Bot - Feb 10, 2008 11:56

Originally posted by [b]alexman98[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=946

I checked the time function scripts and I look something curious, I think that it needs an adjustment.

The 0 for Sunday it says just below (4 - Week day (0 for Sunday, 6 is Saturday))?

Or... The 7 for Sunday(Sunday = 7)?

/| gettime(<type) is a function which is used to make a check
//| for a desired amount of information regarding time. The types are:
//| 1 - Seconds (of a minute)
//| 2 - Minutes (of an hour)
//| 3 - Hour (of a day). Hour goes from 0 to 23.
//| 4 - Week day (0 for Sunday, 6 is Saturday)
//| 5 - Day of the month.
//| 6 - Number of the month.
//| 7 - Year.
//| 8 - Day of the year.
//|
//| Days (explained later) :
//| Monday = 1
//| Tuesday = 2
//| Wednesday = 3
//| Thursday = 4
//| Friday = 5
//| Saturday = 6
//| Sunday = 7

Well... Responses will be thanked in advance.