delay lua code example
Example: minetest lua delay
--- example of using delay in minetest
function examplefunction()
minetest.chat_send_all("This message is 5 seconds late from before.")
end
minetest.chat_send_all("This message has been triggered from something")
minestest.after(5, examplefunction)