Page 1 of 1

Wanted: getTokens() by Property Value

Posted: Mon Feb 10, 2020 1:48 am
by bubblobill
Just saying, getTokens() would be nicely enhanced by the inclusion of a condition for Property Value.
Example:

Code: Select all

[conditions=json.set("", 
    "npc", "1",
    "mapname", "MonsterStore",
    "property", json.set("", "CreatureName", "dog", "ChallengeRating", "2")
    )]

[badguys=getTokens("json", conditions)]