Yep, bracketse are little tricky at first, especially the double at the end.
Just a little correction, <<[i[7]]>> stands for "Deactivate the choice if the player has item 7" if you want to make it selectable when the player has item 7 then it's <<[!i[7]]>>