6 replies

AR

With which action would I use that? 

There's no action. You do it with the variable directly. Check here: https://tasker.joaoapps.com/userguide/en/variables.html#arrays

AR

Great!  And sorry I didn't know that already,  but that's what I love about tasker,  there's always more to learn and enjoy! 

No problem!

AR

Sorry, just realized you wanted an example. In my case, I'm building a game where I need to know if colored squares match each other.  The match could be with any of the other elements.  Btw, i was also the person who had requested the "and/or" if condition, also to ease the matching process. 

Thanks, as always.

Alan

Ok, you can do that already :) Use %array(#?color) and check if the result is not 0. If that happens that means that any item in the array matches the word "color".

AR

It would be an option meaning if your entry matches ANY of items in an array. 

Can you give me a specific example with values? Thanks!

Hi. Can you clarify how that would work? Can you give an example?