isnight()
¶
Warning
This page may contain outdated information, incompatible with the current version of Hercules and its coding standards.
Syntax¶
Description¶
These functions determine whether server day or night cycle is currently in effect or not. If the server night is in effect, isnight()
will return true, otherwise false.
Examples¶
Info
These two script fragments achieve the same effect.