Thanks. I think you mean these settings?conf/map/battle/misc.conf
// Define duration in msec of the day (default: 7200000 = 2 hours)
// Set to 0 to disable day cycle (but not @day GM command).
// Except 0, minimum is 60000 (1 minute)
day_duration: 7200000
// Define duration in msec of the night (default: 1800000 = 30 min)
// Set to 0 to disable night cycle (but not @night GM command).
// Except 0, minimum is 60000 (1 minute)
night_duration: 7200000
- script DayNight -1,{
OnInit:
if ((gettime(3) < 6) || (gettime(3) >= 21)) night;
end;
OnClock0600:
announce "The Sun is rising! [6:00]",bc_all,0xEEEEEE;
day;
end;
OnClock2100:
announce "Good Night Players![21:00]",bc_all,0xEEEEEE;
night;
end;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.