Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I check if a script has finished running?

Asked by
ked2000 15
10 years ago

I want to be able to tell when a script has finished preforming it's task. However, I want to avoid having to put a true or false state at the end of the script. Any ideas?

I DO NOT want to do this:

function blah()
    print("blah blah blah")
end

_G["somename"]["ready"] = true;

Answer this question