Use this page to navigate the Campaign Creation Documentation. It's not expected that you read all of this to create a campaign - Instead, use this as a reference during campaign creation, whenever you need to use a specific event.
Vars sets variables which can later be referenced by split.
You can add a "vars" attribute to any event, to set variables when that event begins.
"text": { "addTest": { "parts": [ { "text": "Talking to me will set a to 1 and b to 2" } ], "vars": { "a": 1, "b": 2 } } }
You can modify variables with arithmetic and string operations like add, sub, mul, div, floor, ceil, equals, etc.
"vars": { "change_stuff": { "chain": "text:nextEvent", "list": [ { "numberOfCats": "7" }, { "numberOfDogs": "3" } ] } }