Medical Rewrite Progress

When using sleep it halts the script and checks every frame if the clock incremented the given time interval. This way it will always wait atleast one frame. This is the conclusion I got from testing this, but I might be totally wrong.