Syntax [*] Openbullet2

image

im trying to use the syntax for whole list like on ob1 but it’s not working fast help please

That isn’t correct syntax for OB2 for your case. You instead want to parse the variable you are wanting to capture as a list of strings (recursively).
Then with the translate block you would enter that variable you want to translate.

Untitled

Its gonna return as a string i think it would be better if we use this example


BLOCK:ConstantList
  value = ["one", "two", "three"]
  => VAR @list
ENDBLOCK

for (int i = 0; i < list.Count; i++)
{
  BLOCK:ToUppercase
    input = @list[i]
    => VAR @upper
  ENDBLOCK

  list[i] = upper;
}
1 Like

yeah i wanted to do that so thanks i hope this works

no its not capturing all of them so ob1 has this option to capture list of strings [*]

it’s okay i did it thanks btw i appreciate that