Skip to content

Autolabor script/command delay shenanigan advice? #2968

Answered by myk002
MechanosG asked this question in Q&A
Discussion options

You must be logged in to vote

The call you're looking for is dfhack.timeout()

You can use it to both set up a repeating check for new migrants and to control the delayed running of other commands.

Check out emigration.lua for an example of how to get it set up.

https://github.com/DFHack/scripts/blob/master/emigration.lua

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MechanosG
Comment options

Answer selected by MechanosG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants