First, you should make sure that #Check# / #UsedBefore# is numerical, IfConditions don't work with strings (by the way, you could have just used #UsedBefore# in the comparison, no need to duplicate the variable to #Check#, unless of course you have other plans like changing #Check# while keeping #UsedBefore# unchanged).
Secondly, IfConditions are typically added to a measure, unlike your usage which actually attaches the IfCondition to the [Variables] section. Or, alternatively, just use a Calc measure with Formula=#UsedBefore# and do the comparison on the value of that Calc measure (while adding DynamicVariables=1 to the measure), it's the same thing.
Thirdly, assuming your Config and File parameters in the !ActivateConfig are correct, your code contradicts your description:
Lastly, not really mandatory, but if you don't want to do anything in one of the IfCondition branches (IfTrueAction or IfFalseAction, doesn't matter), you could just as well remove the said branch altogether.
Secondly, IfConditions are typically added to a measure, unlike your usage which actually attaches the IfCondition to the [Variables] section. Or, alternatively, just use a Calc measure with Formula=#UsedBefore# and do the comparison on the value of that Calc measure (while adding DynamicVariables=1 to the measure), it's the same thing.
Thirdly, assuming your Config and File parameters in the !ActivateConfig are correct, your code contradicts your description:
considering that in the code you activate the [SkinsFolder]\GeorgeRussell\Settings.ini when the #UsedBefore# (or #Check#, per your duplication) variable is 0 (as opposed to being different than 0, like in your description).if a variable [...] is 0 and if not to open the settings window
Lastly, not really mandatory, but if you don't want to do anything in one of the IfCondition branches (IfTrueAction or IfFalseAction, doesn't matter), you could just as well remove the said branch altogether.
Statistics: Posted by Yincognito — Today, 1:12 pm