:check_taskboard
  if-variable customTaskCount == 0
    Notice "There is no pending request at the moment."
    return
  else
    if-variable customTaskCount == 1
      Notice ("There is only one open request. Should I check it?", "Yes", "No", "No")
      if (response == "Yes")
        # For compatibility with the old code (this call loads Variables.autoTaskRequester)
        js this.listAvailableAutoTasks();
        play child check_single_task
      end

      return
    end

    js this.listAvailableAutoTasks();
    Notice ("There are <var:autoTaskCount> open requests. Whose request should I check?", "Nevermind", "Nevermind")
  end

  if response == "Nevermind"
    return
  end

  js Variables.autoTaskRequester = response;
  play child check_single_task

:check_single_task
  js Managers.Tasks.openAutoTaskBy(Variables.autoTaskRequester)
