Author Topic: How do I take what was said and add it to a tts  (Read 621 times)

Bmanb0201

  • Newbie
  • *
  • Posts: 1
How do I take what was said and add it to a tts
« on: May 19, 2024, 08:41:14 PM »
I'm making a thing where if I say a swear, it closes my game. But I was to make it take what I said and output it as a tts that says “Oop, you're not allowed to say (what I said)” But I can't really figure out how to do this. Do any of you know how?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4781
  • RTFM
Re: How do I take what was said and add it to a tts
« Reply #1 on: May 20, 2024, 12:21:02 AM »
If you're not using wildcards, the "{CMD}" token is likely what you're looking for.


Press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer, which contains information on VoiceAttack's features.
The "Text (and Text-To-Speech) Tokens" section would be especially relevant.

This topic may also be of use, in addition to the official documentation:
Variables and tokens summed up