Author Topic: Using dynamic commands and wildcards  (Read 2007 times)

janjan

  • Newbie
  • *
  • Posts: 42
Using dynamic commands and wildcards
« on: July 20, 2020, 05:28:36 AM »
Hi,
I create a simple text command to show my issue:
The command is *[request;requesting] picture

VA recognizes e.g. "viper 1 request picture" but not "request picture"
I see in the log: "Unrecognized: request picture".
Only when I add write my command like this:
*[request;requesting] picture;[request;requesting] picture can i get both "viper 1 request picture" AND "request picture" to be recognized.

i know wildcards are experimental but is this the way i am supposed to write my commands in this case? With and without the *?
« Last Edit: July 20, 2020, 06:52:05 AM by janjan »

jarod0476

  • Newbie
  • *
  • Posts: 2
Re: Using dynamic commands and wildcards
« Reply #1 on: July 26, 2020, 12:25:15 AM »
Try with [*;] [request;requesting] picture

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Using dynamic commands and wildcards
« Reply #2 on: July 26, 2020, 12:48:54 AM »
@jarod0476 - Thanks for stepping in, Jarod.  I haven't tried that combination to see what it does.

@janjan - I can't recall immediately how far wildcards fit in with dynamic commands (probably should code dive on that) - for the time being, I've addressed the * at the start of a command phrase with dynamic segments to work as one would expect.  This is in the beta that I just released a moment ago.