]> skyeroc.xyz Git - dgamelaunch/commit
Add config "ifnxsleep" command
authorMichael Meyer <me@entrez.cc>
Tue, 12 Nov 2024 22:12:17 +0000 (17:12 -0500)
committerk21971 <keith.simpson1971@gmail.com>
Tue, 12 Nov 2024 22:20:32 +0000 (17:20 -0500)
commitb691b5f9114de96aeb26ae0a65dbf05194324726
tree2aafafcf0af0a25822c0f11c127f1ad1a20551ea
parent5fe0cd7955b4563b1f1b38af138768214b342741
Add config "ifnxsleep" command

For sleeping/delaying a certain amount of time if the specified file
does not exist. Intended for use in delaying games iff no save file
exists, to ease up on the server load from start scumming (especially
automated start scumming).

Sleep 5 seconds if /path/to/file.txt does not exist:

| ifnxsleep 5 "/path/to/file.txt"
config.l
dgamelaunch.h
dgl-common.c
examples/dgamelaunch.conf