UsernameInvalid
Community Developer
- Joined
- Jul 27, 2014
- Messages
- 273
- Reaction score
- 11
I've spent the last few hours trying to find a solution to test if a user has switched a setting from default false to true to initiate a line of code, but nothing has compiled correctly.
<Settings DefaultValue="False" Type="Boolean" Name="Alchemy" Summary="Levels Alchemy to 600" Category="Primary Professions" Global="False" Hidden="False" />
<If Condition="(bool)Settings["Alchemy"">
<CustomAction Code="MyLog("Loading Alchemy." );"/>
</If>
<Settings DefaultValue="False" Type="Boolean" Name="Alchemy" Summary="Levels Alchemy to 600" Category="Primary Professions" Global="False" Hidden="False" />
<If Condition="(bool)Settings["Alchemy"">
<CustomAction Code="MyLog("Loading Alchemy." );"/>
</If>