Question - Syntax question about searching for values in a TLO

Joined
May 31, 2022
RedCents
4,173¢
Hi,

Question about searching for values in a TLO.
I'm wanting a prettier way to return a true / false on whether or not I have toons in group that can snare.

I can do it this way:[CODE lang="ini" title="Return Classes that can snare"]${SpawnCount[group class druid]} || ${SpawnCount[group class ranger]} || ${SpawnCount[group class "Shadow Knight"]}[/CODE]
I'd like to construct something more like this: [CODE lang="ini" title="Concise code that does not work"]${SpawnCount[group.class[druid,ranger,"Shadow Knight"]]}[/CODE]
But havent got a grasp on the basics here.
 
Question - Syntax question about searching for values in a TLO

Users who are viewing this thread

Back
Top
Cart