-
Notifications
You must be signed in to change notification settings - Fork 760
Isnight
Haru edited this page Oct 19, 2016
·
1 revision
- isnight();
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.
[[if]](!isnight()) { [[mes]] "I do not work at day, come again tomorrow."; [[close]]; }
if(isnight()) { mes "I do not work at night, come again tomorrow."; close; }
These two script fragments achieve the same effect.