public
Description: WoW Addon - Automatically restock items from vendors and your bank
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/stealyourcarbon.git
Click here to lend your support to: stealyourcarbon and make a donation at www.pledgie.com !
Add config frame
tekkub (author)
Tue Feb 19 13:50:55 -0800 2008
commit  5adc6db168dc7ebaf501019a5fb6a633aa5f715a
tree    6826e103474e456c8a5f31b2b40c6cde3de27604
parent  a3a8c975a5824fbb41fdfadb6be4cacd1cd23f36
...
10
11
12
13
14
15
 
 
16
17
18
19
20
21
22
23
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
26
27
...
10
11
12
 
 
 
13
14
15
 
 
 
 
 
 
 
 
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
0
@@ -10,18 +10,23 @@ SLASH_CARBON1 = "/carbon"
0
 SLASH_CARBON2 = "/syc"
0
 SlashCmdList.CARBON = function(input)
0
   local cmd, rest = string.match(input, "^%s*(%S+)%s*(.*)$")
0
- local handler = cmd and StealYourCarbon["CMD_"..cmd:upper()]
0
-
0
- if handler then handler(StealYourCarbon, rest)
0
+ if not cmd then
0
+ InterfaceOptionsFrame_OpenToFrame(StealYourCarbon.configframe)
0
   else
0
- StealYourCarbon:Print("Automatically restock items from vendors and your bank")
0
- ChatFrame1:AddMessage(" /carbon /syc")
0
- ChatFrame1:AddMessage(" |cffff9933add|r: Add an item to be restocked")
0
- ChatFrame1:AddMessage(" |cffff9933del|r: Remove an item from the restock list")
0
- ChatFrame1:AddMessage(" |cffff9933list|r: List current restock items")
0
- ChatFrame1:AddMessage(" |cffff9933overstock|r: Ensure that the quantity specified is always purchased for items offered in stacks from vendor")
0
- ChatFrame1:AddMessage(" |cffff9933upgradewater|r: Automatically upgrade to better water as player levels")
0
- ChatFrame1:AddMessage(" |cffff9933chatter|r: Give chat feedback when purchasing items")
0
+ local handler = StealYourCarbon["CMD_"..cmd:upper()]
0
+
0
+ if handler then handler(StealYourCarbon, rest)
0
+ else
0
+ StealYourCarbon:Print("Automatically restock items from vendors and your bank")
0
+ ChatFrame1:AddMessage(" /carbon /syc")
0
+ ChatFrame1:AddMessage(" |cffff9933(no command)|r: Open config panel")
0
+ ChatFrame1:AddMessage(" |cffff9933add|r: Add an item to be restocked")
0
+ ChatFrame1:AddMessage(" |cffff9933del|r: Remove an item from the restock list")
0
+ ChatFrame1:AddMessage(" |cffff9933list|r: List current restock items")
0
+ ChatFrame1:AddMessage(" |cffff9933overstock|r: Ensure that the quantity specified is always purchased for items offered in stacks from vendor")
0
+ ChatFrame1:AddMessage(" |cffff9933upgradewater|r: Automatically upgrade to better water as player levels")
0
+ ChatFrame1:AddMessage(" |cffff9933chatter|r: Give chat feedback when purchasing items")
0
+ end
0
   end
0
 end
0
 
...
14
15
16
 
 
 
 
 
17
18
 
...
14
15
16
17
18
19
20
21
22
23
24
0
@@ -14,5 +14,11 @@
0
 ## X-LoadOn-Merchant: true
0
 ## X-LoadOn-Bank: true
0
 
0
+LibStub.lua
0
+tekKonfigHeading.lua
0
+tekKonfigFadeIn.lua
0
+tekKonfigCheckbox.lua
0
+
0
 StealYourCarbon.lua
0
 SlashHandler.lua
0
+Config.lua

Comments

    No one has commented yet.