Looking For a Guide
With my newest addon I am working on I've decided it's time to start including some options.
I'm hoping someone can point me in the direction of an up to date guide of some sort to help with slash commands and/or interface options. Anyone know of a good one? :) |
slashcmds you can do this..
Code:
local function doThisFunction() |
This is not limited at all!
Code:
local function slash(arg) |
Wowwiki has a short guide on creating slash commands.
http://www.wowwiki.com/Creating_a_slash_command |
I think it depends how many options you want to have. Consolid8 (my chat addon) just has a few, so I use slash commands. The simplified handler goes something like this:
Code:
SlashCmdList["CONSOLID"] = function(msg) Code:
switches = { |
Thanks for all of this. Anyone know of a good place to look for saving and calling variables so I can save some settings to go along with this? :)
|
|
All times are GMT -6. The time now is 04:26 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI