How do I create a condition to evaluate a DialogueTree Command parameter value?

Considering the following Yarn branch…

Screenshot 2023-11-03 145411

I would like to evaluate the parameter passed with the command in order to build 2 events like this…

If command = speakerTag and parameter 1 = frodo, do action A
If command = speakerTag and parameter 1 = trevor, do action B

I know that I can use the “Command is Called” condition to check if the Yarn command is equal to “speakerTag”

Screenshot 2023-11-03 145721

But how would I create a condition to also evaluate the value of the first parameter (frodo or trevor)?

I’m assuming I need to expand the Command is Called condition to also evaluate the value of DialogueTree::CommandParameter(0), but am unsure how to build the syntax in the condition.

Any help is appreciated. Thanks.

After further thought, I’ll evaluate the command value using the “Command is Called” condition and set the value of the first command parameter (DialogueTree::CommandParameter(0)) to a scene variable and evaluate the variable.