title: TTL: wait for dynamically generated string
body: <p>I'm scripting an automation in TTL.</p>
  <p>I have a parameter that is determined by the object I'm connecting to, so I parse it into a variable named <code>pos</code>. This part of the code is more than fine.</p>
  <p>Now, I'd like to wait for a textual string like</p>
  <pre><code>wait 'A 'pos' B'
  </code></pre>
  <p>Note that in the string I'm waiting for, the variable <code>pos</code> is part of the string. This syntax isn't working because, according to <a href="https://ttssh2.osdn.jp/manual/4/en/macro/command/wait.html" rel="nofollow noreferrer">docs</a> this is waiting on either <code>A</code> or <code>pos</code> or <code>B</code>.</p>
  <p>e.g. if <code>pos=3</code> i'd like to <code>wait 'A 3 B'</code> as a whole, not as alternative. I can't find in the docs the correct syntax to achieve this.</p>