Set property
needs(code_samples);
Function Syntax
void set_property(string prop ,string value )
- prop is the property to set
- value is the value to set the property to
Looks for a global or appropriate user preference from the saved files (found in your "Settings" directory) and if it finds one that matches, it overrides its value with value. If a match is not found in your existing preferences for prop, it will create a property with that name and set it to value.
CLI Equivalent
The CLI command "set" works similarly.
See Also
Special
You can set a custom property that automatically gets its value cleared each new KoL day by prefixing it with an underscore.