help with a toggle command

VoiceWarrior Forums Template Help help with a toggle command

This topic contains 0 replies, has 1 voice, and was last updated by  Michael 2 months ago.

  • Author
    Posts
  • #249

    Michael
    Participant

    I need to write a command (probably a script) that does the following:

      [*]hears the command ‘activate bed servos”
      [*]looks at a variable and depending on the boolean state

        [*]TRUE

          [*]hit win+control+s
          [*]text to speech say servos deactivated
          [*]Sets variable to 0

        [*]False

          [*]hit win+control+w
          [*]text to speech say servos deactivated
          [*]Sets variable to 1

You must be logged in to reply to this topic.

Share on Social Media