I want to setup a condition with a json result. And if the condition is true, append that data to a file. Example:
if json_value == true append else pass (WANT TO BE A LOLISCRIPT CODE)
Something like that
I want to setup a condition with a json result. And if the condition is true, append that data to a file. Example:
if json_value == true append else pass (WANT TO BE A LOLISCRIPT CODE)
Something like that
Parse the value from the json and then make an IF statement. There’s documentation for that, you can even search it on this forum (for OB2).
IF "JSON_VALUE" == "0" UTILITY File "test.txt" AppendLines "<test>" -> VAR "test" ENDIF
Like this?
<test>
is that variable that stores user entity
IF "<PARSED_JSON>" EqualTo "false"
put utility block here
ENDIF
Ohhk, I see. Thanks you alot