I need a script that will essentially be the same thing as the...
1
on:changeday {
Is this even possible? I looked through the stranded 2 command reference and come up dry. Do you guys have any tips?
on:changeday {
on:start {
timer "unit", 1, 10000, 0, "checktime";
}
on:checktime {
if($eventexecuted==0)
if(hour()==23) {
freetimers "unit", 1;
event "onehourbeforemidnight", "global";
$eventexecuted=1;
}
}
}
on:onehourbeforemidnight {
[YOUR SCRIPT]
}
on:changeday {
timer "unit", 1, 1350000, 1, "closetoonehourbeforemidnight";
}
on:closetoonehourbeforemidnight {
$eventexecuted=0;
timer "unit", 1, 10000, 0, "checktime";
}