Blueprint Dialogue System

I gave it another try, but the NPC just says whatever comes first in the data table and disregards all I’ve done. (I left the “initial branch” setting at “auto_select” in the bpc_dialogue component inside the NPC. I hope that’s not wrong.)
The overlap event in the item’s event graph:


Trying to declare the variable in the script interpreter’s event graph:
ue4_scriptinterpreter.jpg
And the data table:

And another thing: What would I write inside the Execute Script node if I wanted to set a variable to true or false instead of adding numbers? I couldn’t find an answer in the documentation. The Execute Script node is never mentioned anywhere. I had no idea it existed until today.