The available conditions that satisfy the <waitfor> task are the same as those for the <condition> task. See here for the full list.