%isNighttime()

Aliases%isNighttime( )
Parameters-

    Returns 1 if the current day cycle is "nighttime"; otherwise 0 is
returned. Nighttime is defined as the time 1 hour after sunset till
1 hour before sunrise.

Example:

if( %isNighttime() )
{
talk @n I wouldn't go outside now, it's nighttime and the vampires
\ will be feeding.
}
endif