By my reckoning, the Scots need four of the following to happen:
Group D: Australia beat Paraguay by two clear goals or Paraguay beat Australia by four clear goals.
Group E: Both Ecuador to fail to beat Germany and Curacao to fail to beat Ivory Coast.
Group F: Japan to beat Sweden by four clear goals.
Group G: Egypt to beat Iran.
Group H: Spain to beat Uruguay.
Group I: Senegal to fail to beat Iraq.
Group J: Austria to beat Algeria by two clear goals or Algeria to beat Austria by four clear goals.
Group K: Either DR Congo and Uzbekistan to draw or Uzbekistan to win by fewer than four goals.
Group L: Ghana to beat Croatia by three clear goals.