Mercurial > wow > breuesk
comparison Options.lua @ 43:4109683c3172
Kept AceConsole embedded - it handily disables the chat commands when the addon is disabled
Did a little passthrough to properly set the self param for commands like Print()
author | John@Yosemite-PC |
---|---|
date | Thu, 15 Mar 2012 22:27:51 -0400 |
parents | 72055fc7e115 |
children |
comparison
equal
deleted
inserted
replaced
42:72055fc7e115 | 43:4109683c3172 |
---|---|
1 --local bsk = bsk | |
2 --local _G=_G | |
1 setfenv(1,bsk) | 3 setfenv(1,bsk) |
2 options = { | 4 options = { |
3 name= 'bsk', | 5 name= 'bsk', |
4 type = 'group', | 6 type = 'group', |
5 args = | 7 args = |
7 version = | 9 version = |
8 { | 10 { |
9 type = "execute", | 11 type = "execute", |
10 name = "Version query", | 12 name = "Version query", |
11 desc = "Check others' versions", | 13 desc = "Check others' versions", |
12 func = function(self) bsk:Print("TODO") end | 14 func = function(self) print("TODO") end |
13 } | 15 } |
14 } | 16 } |
15 } | 17 } |