{ "conditions": [ { "id": "user-auth", "name": "userAuth", "params": [ { "id": "user-is-auth", "type": "boolean" } ] } ] }
{ "bp": true, "nodes": [ { "nname": "Variable", "name": "myVariable", "value": "\"Hello!\"" }, { "nname": "Insert comment", "text": "Это условие всегда выполнится, потому что переменная myVariable равна Hello!" }, { "nname": "Condition", "comparator": "equal", "operand 1": "$myVariable", "operand 2": "\"Hello!\"" }, { "nname": "BlockStart" }, { "nname": "Print", "text": "\"Привет!\"" }, { "nname": "BlockEnd" }, { "nname": "Insert comment", "text": "А вот это уже нет, потому что myVariable не равна World!" }, { "nname": "Condition", "comparator": "equal", "operand 1": "$myVariable", "operand 2": "\"World!\"" }, { "nname": "BlockStart" }, { "nname": "Print", "text": "\"The cake is a lie!\"" }, { "nname": "BlockEnd" } ] }