View Single Post
03/29/18, 06:05 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,966
Edit:
Sorry, I overread the 3rd parameter "value" which I'm describing here (it's not setoption):
If the option is a checkbox e.g. the value will be "1" for true and "0" for false (be sure to use it as sa string with the "" surrounding it).
Other opions might have other values, you'd need to check fot the option's name and category and scan the source code for it at e.g. https://github.com/esoui/esoui/tree/master/esoui in order to be sure which values need to be used.

Last edited by Baertram : 03/29/18 at 12:47 PM.
  Reply With Quote