Advertisement
Guest User

Untitled

a guest
Oct 20th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. local options = {
  2.    type = "group",
  3.    name = "Test",
  4.    args = {
  5.       buffed = {
  6.          order = 2,
  7.          name = "Enable only when player buffed",
  8.          desc = "Alt support only triggers the instructional whisper when the player is buffed (all players can still use alt support)",
  9.          type = "toggle",
  10.          width = "full",
  11.          descStyle = "inline",
  12.          set = function(_, val)
  13.             print(val)
  14.          end,
  15.          get = function()
  16.             return false
  17.          end
  18.       }
  19.    }
  20. }
  21.  
  22. LibStub("AceConfig-3.0"):RegisterOptionsTable("Test", options)
  23. LibStub("AceConfigDialog-3.0"):Open("Test")
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement