You can use IF variables inside other IF variables to create complex logic but the internal IF: must be processed before the external IF
There are special versions of each IF constructed with double :: ^ and || ~ separators like [IF=::^this::^this::^same||~different]All the double separator IF's The special versions are processed first so should be used as the internal IF wherever requiredso it's result can be processed by the outer if.The special versions can also be used if you expect : or | characters within your data.
IF's are processed in the following order.
i.e. all the [IF=:: ^ will be processed first, then all the [IFIN:: ^ etc.
[IF=::^[IFIN::^[IFLIKE::^[IF>::^[IF>=::^[IF<::^[IF<=::^[IFBETWEEN::^
[IF=:
[IFIN: